MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/pool/base.py:664–673  ·  view source on GitHub ↗
(self, pool: Pool, connect: bool = True)

Source from the content-addressed store, hash-verified

662 starttime: float
663
664 def __init__(self, pool: Pool, connect: bool = True):
665 self.fresh = False
666 self.fairy_ref = None
667 self.starttime = 0
668 self.dbapi_connection = None
669
670 self.__pool = pool
671 if connect:
672 self.__connect()
673 self.finalize_callback = deque()
674
675 dbapi_connection: Optional[DBAPIConnection]
676

Callers

nothing calls this directly

Calls 1

__connectMethod · 0.95

Tested by

no test coverage detected