MCPcopy Index your code
hub / github.com/faif/python-patterns / run

Method run

patterns/behavioral/publish_subscribe.py:50–51  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

48 self.provider.unsubscribe(msg, self)
49
50 def run(self, msg: str) -> None:
51 print(f"{self.name} got {msg}")
52
53
54def main():

Callers 1

updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected