MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / __init__

Method __init__

octobot/octobot_api.py:27–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25
26class OctoBotAPIProvider(singleton.Singleton):
27 def __init__(self):
28 self.octobot_api_by_bot_id: dict[str, "OctoBotAPI"] = {}
29
30 def get_api(self, bot_id: str) -> "OctoBotAPI":
31 return self.octobot_api_by_bot_id[bot_id]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected