From: Mike Bayer Date: Wed, 15 Mar 2023 14:09:57 +0000 (-0400) Subject: remove "listeners" docstring X-Git-Tag: rel_2_0_7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd3b4747d2935effd9e0c2bbe72f080df4ffc50;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git remove "listeners" docstring this should have been removed with #4638. Fixes: #9492 Change-Id: If82dba7e63382e921aceb0c01d88f0977b7f5e8d --- diff --git a/lib/sqlalchemy/engine/create.py b/lib/sqlalchemy/engine/create.py index 1a4acbc540..c491240ea6 100644 --- a/lib/sqlalchemy/engine/create.py +++ b/lib/sqlalchemy/engine/create.py @@ -63,7 +63,6 @@ def create_engine( json_deserializer: Callable[..., Any] = ..., json_serializer: Callable[..., Any] = ..., label_length: Optional[int] = ..., - listeners: Any = ..., logging_name: str = ..., max_identifier_length: Optional[int] = ..., max_overflow: int = ..., @@ -351,10 +350,6 @@ def create_engine(url: Union[str, _url.URL], **kwargs: Any) -> Engine: :paramref:`_sa.create_engine.max_identifier_length` - :param listeners: A list of one or more - :class:`~sqlalchemy.interfaces.PoolListener` objects which will - receive connection pool events. - :param logging_name: String identifier which will be used within the "name" field of logging records generated within the "sqlalchemy.engine" logger. Defaults to a hexstring of the