MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / wait_and_drop

Method wait_and_drop

tests/test_introspection.py:177–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 # slow_intro_conn cache is now populated with intro_1_t
176
177 async def wait_and_drop():
178 await asyncio.sleep(0.1)
179 await slow_intro_conn.reload_schema_state()
180
181 # Now, in parallel, run another query that
182 # references both intro_1_t and intro_2_t.

Callers

nothing calls this directly

Calls 1

reload_schema_stateMethod · 0.80

Tested by

no test coverage detected