MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _conn

Method _conn

test/engine/test_pool.py:1493–1496  ·  test/engine/test_pool.py::QueuePoolTest._conn
()

Source from the content-addressed store, hash-verified

1491 strong_refs = set()
1492
1493 def _conn():
1494 c = p.connect()
1495 strong_refs.add(c.dbapi_connection)
1496 return c
1497
1498 for j in range(5):
1499 class="cm"># open 4 conns at a time. each time this

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected