MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

pager/PagerRagnar.py:148–155  ·  view source on GitHub ↗
(self, shared_data)

Source from the content-addressed store, hash-verified

146 """Main class for Ragnar on Pineapple Pager."""
147
148 def __init__(self, shared_data):
149 self.shared_data = shared_data
150 self.orchestrator_thread = None
151 self.orchestrator = None
152 self._orchestrator_lock = threading.Lock()
153
154 self.shared_data.ragnar_instance = self
155 self.shared_data.headless_mode = False
156
157 def run(self):
158 """Main loop - waits for Wi-Fi connection and starts Orchestrator."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected