You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: octue/cloud/events/handler.py
+10-2Lines changed: 10 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ class AbstractEventHandler:
37
37
:param str|None exclude_logs_containing: if provided, skip handling log messages containing this string
38
38
:param bool only_handle_result: if `True`, skip handling non-result events and only handle the "result" event when received (turning this on speeds up event handling)
39
39
:param bool validate_events: if `True`, validate events before attempting to handle them (turning this off speeds up event handling)
40
+
:param bool raise_errors: if `True`, raise any exceptions received; otherwise, just log them (just logging them allows a partial result event to be received afterwards and handled)
Copy file name to clipboardExpand all lines: octue/cloud/events/replayer.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ class EventReplayer(AbstractEventHandler):
19
19
:param str|None exclude_logs_containing: if provided, skip handling log messages containing this string
20
20
:param bool only_handle_result: if `True`, skip non-result events and only handle the "result" event if present (turning this on speeds up event handling)
21
21
:param bool validate_events: if `True`, validate events before attempting to handle them (this is off by default to speed up event handling)
22
+
:param bool raise_errors: if `True`, raise any exceptions received; otherwise, just log them (just logging them allows a partial result event to be received afterwards and handled)
Copy file name to clipboardExpand all lines: octue/cloud/pub_sub/events.py
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,7 @@ class GoogleCloudPubSubEventHandler(AbstractEventHandler):
46
46
:param str|None exclude_logs_containing: if provided, skip handling log messages containing this string
47
47
:param bool only_handle_result: if `True`, skip non-result events and only handle the "result" event if present (turning this on speeds up event handling)
48
48
:param bool validate_events: if `True`, validate events before attempting to handle them (turn this off to speed up event handling at risk of failure if an invalid event is received)
49
+
:param bool raise_errors: if `True`, raise any exceptions received; otherwise, just log them (just logging them allows a partial result event to be received afterwards and handled)
0 commit comments