Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
54
def
main():
Callers
1
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected