MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / is_ready

Function is_ready

misc/python/materialize/scratch.py:501–504  ·  view source on GitHub ↗
(i: Instance)

Source from the content-addressed store, hash-verified

499 git_rev: str,
500) -> None:
501 def is_ready(i: Instance) -> bool:
502 return bool(
503 i.public_ip_address and i.state and i.state.get("Name") == "running"
504 )
505
506 done = False
507 async for remaining in ui.async_timeout_loop(60, 2):

Callers 1

setupFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected