MCPcopy
hub / github.com/celery/celery / Event

Method Event

t/unit/worker/test_consumer.py:1133–1144  ·  view source on GitHub ↗
(self, id='id', clock=312,
              hostname='foo@example.com', pid=4312,
              topic='topic', action='action', cver=1)

Source from the content-addressed store, hash-verified

1131 logger.exception.assert_called()
1132
1133 def Event(self, id='id', clock=312,
1134 hostname='foo@example.com', pid=4312,
1135 topic='topic', action='action', cver=1):
1136 return {
1137 'id': id,
1138 'clock': clock,
1139 'hostname': hostname,
1140 'pid': pid,
1141 'topic': topic,
1142 'action': action,
1143 'cver': cver,
1144 }
1145
1146 def test_on_elect(self):
1147 c = self.Consumer()

Callers 9

test_on_electMethod · 0.95
setup_electionMethod · 0.95
__init__Method · 0.80
__init__Method · 0.80
__init__Method · 0.80
loopMethod · 0.80
__init__Method · 0.80
_eventMethod · 0.80
on_stopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected