MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / info

Method info

lib/sqlalchemy/engine/base.py:696–707  ·  view source on GitHub ↗

Info dictionary associated with the underlying DBAPI connection referred to by this :class:`_engine.Connection`, allowing user-defined data to be associated with the connection. The data here will follow along with the DBAPI connection including after it is returned

(self)

Source from the content-addressed store, hash-verified

694
695 @property
696 def info(self) -> _InfoType:
697 """Info dictionary associated with the underlying DBAPI connection
698 referred to by this :class:`_engine.Connection`, allowing user-defined
699 data to be associated with the connection.
700
701 The data here will follow along with the DBAPI connection including
702 after it is returned to the connection pool and used again
703 in subsequent instances of :class:`_engine.Connection`.
704
705 """
706
707 return self.connection.info
708
709 def invalidate(self, exception: Optional[BaseException] = None) -> None:
710 """Invalidate the underlying DBAPI connection associated with

Callers 2

_log_infoMethod · 0.45
_lru_size_alertMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected