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

Method get_interface

octobot/octobot_api.py:94–97  ·  view source on GitHub ↗
(self, interface_class)

Source from the content-addressed store, hash-verified

92 return self._octobot.automation
93
94 def get_interface(self, interface_class):
95 for interface in self._octobot.interface_producer.interfaces:
96 if isinstance(interface, interface_class):
97 return interface
98
99 def run_in_main_asyncio_loop(
100 self, coroutine, log_exceptions=True, timeout=commons_constants.DEFAULT_FUTURE_TIMEOUT

Callers 2

get_web_interfaceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected