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

Method get_interface

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

Source from the content-addressed store, hash-verified

95 return self._octobot.activity_metrics
96
97 def get_interface(self, interface_class):
98 for interface in self._octobot.interface_producer.interfaces:
99 if isinstance(interface, interface_class):
100 return interface
101
102 def run_in_main_asyncio_loop(
103 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