MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / create

Method create

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

Source from the content-addressed store, hash-verified

1222 creator = dbapi.connect
1223
1224 def create():
1225 return creator()
1226
1227 p = pool.QueuePool(creator=create, pool_size=2, max_overflow=3)
1228 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