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

Method remove_topic

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

Source from the content-addressed store, hash-verified

50 return self.pubsub[topic]
51
52 def remove_topic(self, topic: str):
53 logger.info(f"REMOVING TOPIC: {topic}")
54 if topic not in self.pubsub:
55 raise ValueError(f"Topic {topic} not found")
56 del self.pubsub[topic]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected