(self, Consumer, channel)
| 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") |
nothing calls this directly
no outgoing calls
no test coverage detected