MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _init_connection

Method _init_connection

lib/sqlalchemy/engine/reflection.py:263–268  ·  view source on GitHub ↗
(self, connection: Connection)

Source from the content-addressed store, hash-verified

261 self.info_cache = {}
262
263 def _init_connection(self, connection: Connection) -> None:
264 self.bind = connection
265 self.engine = connection.engine
266 self._op_context_requires_connect = False
267 self.dialect = self.engine.dialect
268 self.info_cache = {}
269
270 def clear_cache(self) -> None:
271 """reset the cache for this :class:`.Inspector`.

Callers 1

_init_legacyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected