MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / async_creator

Method async_creator

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

Source from the content-addressed store, hash-verified

843 existing_creator = testing.db.pool._creator
844
845 async def async_creator():
846 sync_conn = await greenlet_spawn(existing_creator)
847 return sync_conn.driver_connection
848
849 async_creator = mock.Mock(side_effect=async_creator)
850

Callers

nothing calls this directly

Calls 1

greenlet_spawnFunction · 0.90

Tested by

no test coverage detected