diff options
Diffstat (limited to 'lib/sqlalchemy/pool')
| -rw-r--r-- | lib/sqlalchemy/pool/base.py | 3 | ||||
| -rw-r--r-- | lib/sqlalchemy/pool/events.py | 11 |
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/sqlalchemy/pool/base.py b/lib/sqlalchemy/pool/base.py index ac487452c..7600c196b 100644 --- a/lib/sqlalchemy/pool/base.py +++ b/lib/sqlalchemy/pool/base.py @@ -266,9 +266,6 @@ class Pool(log.Identified, event.EventTarget): make use of :func:`_sa.create_engine` should not use this parameter as it is handled by the engine creation strategy. - .. versionadded:: 1.1 - ``dialect`` is now a public parameter - to the :class:`_pool.Pool`. - :param pre_ping: if True, the pool will emit a "ping" (typically "SELECT 1", but is dialect-specific) on the connection upon checkout, to test if the connection is alive or not. If not, diff --git a/lib/sqlalchemy/pool/events.py b/lib/sqlalchemy/pool/events.py index 937939e53..8366b7bd2 100644 --- a/lib/sqlalchemy/pool/events.py +++ b/lib/sqlalchemy/pool/events.py @@ -278,9 +278,6 @@ class PoolEvents(event.Events[Pool]): :param exception: the exception object corresponding to the reason for this invalidation, if any. May be ``None``. - .. versionadded:: 0.9.2 Added support for connection invalidation - listening. - .. seealso:: :ref:`pool_connection_invalidation` @@ -304,8 +301,6 @@ class PoolEvents(event.Events[Pool]): is checked in. It does not actively close the dbapi_connection at the point at which it is called. - .. versionadded:: 1.0.3 - :param dbapi_connection: a DBAPI connection. The :attr:`.ConnectionPoolEntry.dbapi_connection` attribute. @@ -334,8 +329,6 @@ class PoolEvents(event.Events[Pool]): associated with the pool. To intercept close events for detached connections use :meth:`.close_detached`. - .. versionadded:: 1.1 - :param dbapi_connection: a DBAPI connection. The :attr:`.ConnectionPoolEntry.dbapi_connection` attribute. @@ -354,8 +347,6 @@ class PoolEvents(event.Events[Pool]): This event is emitted after the detach occurs. The connection is no longer associated with the given connection record. - .. versionadded:: 1.1 - :param dbapi_connection: a DBAPI connection. The :attr:`.ConnectionPoolEntry.dbapi_connection` attribute. @@ -373,8 +364,6 @@ class PoolEvents(event.Events[Pool]): the connection is already closed. If the close operation fails, the connection is discarded. - .. versionadded:: 1.1 - :param dbapi_connection: a DBAPI connection. The :attr:`.ConnectionPoolEntry.dbapi_connection` attribute. |
