We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d082a6 commit 8b33bb1Copy full SHA for 8b33bb1
1 file changed
src/vws/vws.py
@@ -310,7 +310,7 @@ def wait_for_target_processed(
310
self,
311
target_id: str,
312
seconds_between_requests: float = 0.2,
313
- timeout_seconds: float = 60 * 5,
+ timeout_seconds: Optional[float] = 60 * 5,
314
) -> None:
315
"""
316
Wait up to five minutes (arbitrary) for a target to get past the
@@ -324,7 +324,8 @@ def wait_for_target_processed(
324
decrease the number of calls made to the API, to decrease the
325
likelihood of hitting the request quota.
326
timeout_seconds: The maximum number of seconds to wait for the
327
- target to be processed.
+ target to be processed. If ``None`` is given, no maximum is
328
+ applied.
329
330
Raises:
331
~vws.exceptions.AuthenticationFailure: The secret key is not
0 commit comments