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

Method get_consumers

st2common/st2common/services/triggerwatcher.py:82–89  ·  view source on GitHub ↗
(self, Consumer, channel)

Source from the content-addressed store, hash-verified

80 }
81
82 def get_consumers(self, Consumer, channel):
83 return [
84 Consumer(
85 queues=[self._trigger_watch_q],
86 accept=["pickle"],
87 callbacks=[self.process_task],
88 )
89 ]
90
91 def process_task(self, body, message):
92 LOG.debug("process_task")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected