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

Method __init__

octobot/task_manager.py:40–55  ·  view source on GitHub ↗
(self, octobot)

Source from the content-addressed store, hash-verified

38 """
39
40 def __init__(self, octobot):
41 self.octobot = octobot
42
43 # Logger
44 self.logger = logging.get_logger(self.get_name())
45
46 self.async_loop = None
47 self.ready = False
48 self.watcher = None
49 self.tools_task_group = None
50 self.current_loop_thread = None
51 self.executors = None
52 self.bot_main_task = None
53 self.loop_forever_thread = None
54
55 self._process_bot_state_dump_task = None
56
57 def init_async_loop(self):
58 self.async_loop = asyncio.new_event_loop()

Callers

nothing calls this directly

Calls 2

get_nameMethod · 0.95
get_loggerMethod · 0.45

Tested by

no test coverage detected