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
+19-21
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ class AbstractEventHandler:
31
31
"""An abstract event handler. Inherit from this and add the `handle_events` and `_extract_event_and_attributes`
32
32
methods to handle events from a specific source synchronously or asynchronously.
33
33
34
-
:param octue.cloud.pub_sub.service.Service receiving_service: the service that's receiving the events
34
+
:param octue.cloud.pub_sub.service.Service recipient: the service that's receiving the events
35
35
:param callable|None handle_monitor_message: a function to handle monitor messages (e.g. send them to an endpoint for plotting or displaying) - this function should take a single JSON-compatible python primitive
36
36
:param bool record_events: if `True`, record received events in the `received_events` attribute
37
37
:param dict|None event_handlers: a mapping of event type names to callables that handle each type of event. The handlers should not mutate the events.
Copy file name to clipboardExpand all lines: octue/cloud/events/replayer.py
+8-6
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
classEventReplayer(AbstractEventHandler):
13
13
"""A replayer for events retrieved asynchronously from some kind of storage.
14
14
15
-
:param octue.cloud.pub_sub.service.Service receiving_service: the service that's receiving the events
15
+
:param octue.cloud.pub_sub.service.Service recipient: the service that's receiving the events
16
16
:param callable|None handle_monitor_message: a function to handle monitor messages (e.g. send them to an endpoint for plotting or displaying) - this function should take a single JSON-compatible python primitive
17
17
:param bool record_events: if `True`, record received events in the `received_events` attribute
18
18
:param dict|None event_handlers: a mapping of event type names to callables that handle each type of event. The handlers should not mutate the events.
@@ -23,15 +23,15 @@ class EventReplayer(AbstractEventHandler):
0 commit comments