MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / main

Method main

test/ext/asyncio/test_engine.py:295–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293
294 def go():
295 async def main():
296 tasks = [task() for _ in range(2)]
297
298 await asyncio.gather(*tasks)
299 await engine.dispose()
300
301 async def task():
302 async with engine.begin() as connection:

Callers 1

__main__.pyFile · 0.45

Calls 1

disposeMethod · 0.45

Tested by

no test coverage detected