MCPcopy Create free account
hub / github.com/nat/openplayground / get_topic

Method get_topic

server/lib/sseserver.py:46–50  ·  view source on GitHub ↗
(self, topic: str)

Source from the content-addressed store, hash-verified

44 return self.pubsub[topic]
45
46 def get_topic(self, topic: str):
47 logger.info(f"GETTING TOPIC: {topic}")
48 if topic not in self.pubsub:
49 raise ValueError(f"Topic {topic} not found")
50 return self.pubsub[topic]
51
52 def remove_topic(self, topic: str):
53 logger.info(f"REMOVING TOPIC: {topic}")

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected