File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -393,6 +393,7 @@ def wait_for_answer(
393
393
record_events = True ,
394
394
timeout = 60 ,
395
395
maximum_heartbeat_interval = DEFAULT_MAXIMUM_HEARTBEAT_INTERVAL ,
396
+ raise_errors = True ,
396
397
):
397
398
"""Wait for an answer to a question on the given subscription, deleting the subscription and its topic once
398
399
the answer is received.
@@ -402,6 +403,7 @@ def wait_for_answer(
402
403
:param bool record_events: if `True`, record messages received from the child in the `received_events` attribute
403
404
:param float|None timeout: how long in seconds to wait for an answer before raising a `TimeoutError`
404
405
:param float|int maximum_heartbeat_interval: the maximum amount of time (in seconds) allowed between child heartbeats before an error is raised
406
+ :param bool raise_errors:
405
407
:raise TimeoutError: if the timeout is exceeded
406
408
:return dict: dictionary containing the keys "output_values" and "output_manifest"
407
409
"""
@@ -415,6 +417,7 @@ def wait_for_answer(
415
417
subscription = subscription ,
416
418
handle_monitor_message = handle_monitor_message ,
417
419
record_events = record_events ,
420
+ raise_errors = raise_errors ,
418
421
)
419
422
420
423
try :
You can’t perform that action at this time.
0 commit comments