MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / creator

Method creator

lib/sqlalchemy/pool/impl.py:495–498  ·  view source on GitHub ↗
(rec: ConnectionPoolEntry)

Source from the content-addressed store, hash-verified

493 # used by the test suite to make a new engine / pool without
494 # losing the state of an existing SQLite :memory: connection
495 def creator(rec: ConnectionPoolEntry) -> DBAPIConnection:
496 conn = other_static_pool.connection.dbapi_connection
497 assert conn is not None
498 return conn
499
500 self._invoke_creator = creator
501

Callers 4

_createMethod · 0.45
_createMethod · 0.45
__missing__Method · 0.45
__missing__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected