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

Method __init__

octobot/octobot_api.py:42–44  ·  view source on GitHub ↗
(self, octobot)

Source from the content-addressed store, hash-verified

40class OctoBotAPI:
41
42 def __init__(self, octobot):
43 self._octobot = octobot
44 OctoBotAPIProvider.instance().register_api(self._octobot.bot_id, self)
45
46 def is_initialized(self) -> bool:
47 return self._octobot.initialized

Callers

nothing calls this directly

Calls 2

register_apiMethod · 0.80
instanceMethod · 0.45

Tested by

no test coverage detected