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

Method create

test/engine/test_pool.py:1226–1227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1224 creator = dbapi.connect
1225
1226 def create():
1227 return creator()
1228
1229 p = pool.QueuePool(creator=create, pool_size=2, max_overflow=3)
1230 c1 = self._with_teardown(p.connect()) # noqa

Callers 15

setup_test_classMethod · 0.45
test_start_incrementMethod · 0.45
get_dialectMethod · 0.45
test_table_drop_afterMethod · 0.45

Calls 1

creatorFunction · 0.85

Tested by

no test coverage detected