MCPcopy Create free account
hub / github.com/Tele-AI/Fluxon / _wait_until_present

Function _wait_until_present

deployment/tests/test_selection_supervisor_codegen.py:265–272  ·  view source on GitHub ↗
(module, label: str, *, timeout_seconds: int = 15)

Source from the content-addressed store, hash-verified

263
264
265def _wait_until_present(module, label: str, *, timeout_seconds: int = 15) -> dict:
266 deadline = time.time() + timeout_seconds
267 while time.time() < deadline:
268 status = _observe_status(module, label)
269 if status["present"]:
270 return status
271 time.sleep(0.2)
272 raise RuntimeError(f"timeout waiting present: label={label} status={_observe_status(module, label)!r}")
273
274
275def _wait_until_apply_present(

Calls 1

_observe_statusFunction · 0.85

Tested by

no test coverage detected