File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 9191)
9292from pymongo .logger import _CLIENT_LOGGER , _log_client_error , _log_or_warn
9393from pymongo .message import _CursorAddress , _GetMore , _Query
94- from pymongo .monitoring import ConnectionClosedReason
94+ from pymongo .monitoring import ConnectionClosedReason , _EventListeners
9595from pymongo .operations import (
9696 DeleteMany ,
9797 DeleteOne ,
@@ -759,6 +759,8 @@ def __init__(
759759 self ._port = port
760760 self ._topology : Topology = None # type: ignore[assignment]
761761 self ._timeout : float | None = None
762+ self ._topology_settings : TopologySettings = None # type: ignore[assignment]
763+ self ._event_listeners : _EventListeners | None = None
762764
763765 # _pool_class, _monitor_class, and _condition_class are for deep
764766 # customization of PyMongo, e.g. Motor.
Original file line number Diff line number Diff line change 8383)
8484from pymongo .logger import _CLIENT_LOGGER , _log_client_error , _log_or_warn
8585from pymongo .message import _CursorAddress , _GetMore , _Query
86- from pymongo .monitoring import ConnectionClosedReason
86+ from pymongo .monitoring import ConnectionClosedReason , _EventListeners
8787from pymongo .operations import (
8888 DeleteMany ,
8989 DeleteOne ,
@@ -757,6 +757,8 @@ def __init__(
757757 self ._port = port
758758 self ._topology : Topology = None # type: ignore[assignment]
759759 self ._timeout : float | None = None
760+ self ._topology_settings : TopologySettings = None # type: ignore[assignment]
761+ self ._event_listeners : _EventListeners | None = None
760762
761763 # _pool_class, _monitor_class, and _condition_class are for deep
762764 # customization of PyMongo, e.g. Motor.
You can’t perform that action at this time.
0 commit comments