MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / wait_for_tables

Function wait_for_tables

samples/sample_app.py:185–189  ·  view source on GitHub ↗

Poll all tables until they reach ACTIVE status.

(client)

Source from the content-addressed store, hash-verified

183# ---------------------------------------------------------------------------
184
185def wait_for_tables(client) -> None:
186 """Poll all tables until they reach ACTIVE status."""
187 section("Step 2: Wait for Tables to Become ACTIVE")
188 for name in [USERS_TABLE, ORDERS_TABLE, TOURNAMENT_TABLE]:
189 wait_for_active(client, name)
190# ---------------------------------------------------------------------------
191# Step 3: Load data with PutItem and BatchWriteItem
192# ---------------------------------------------------------------------------

Callers 1

mainFunction · 0.85

Calls 2

sectionFunction · 0.85
wait_for_activeFunction · 0.70

Tested by

no test coverage detected