MCPcopy Create free account
hub / github.com/StackStorm/st2 / get_consumers

Method get_consumers

st2common/st2common/services/sensor_watcher.py:63–71  ·  view source on GitHub ↗
(self, Consumer, channel)

Source from the content-addressed store, hash-verified

61 }
62
63 def get_consumers(self, Consumer, channel):
64 consumers = [
65 Consumer(
66 queues=[self._sensor_watcher_q],
67 accept=["pickle"],
68 callbacks=[self.process_task],
69 )
70 ]
71 return consumers
72
73 def process_task(self, body, message):
74 LOG.debug("process_task")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected