MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / __init__

Method __init__

pymongo/monitoring.py:1253–1261  ·  view source on GitHub ↗
(
        self,
        previous_description: TopologyDescription,
        new_description: TopologyDescription,
        *args: Any,
    )

Source from the content-addressed store, hash-verified

1251 __slots__ = ("__previous_description", "__new_description")
1252
1253 def __init__(
1254 self,
1255 previous_description: TopologyDescription,
1256 new_description: TopologyDescription,
1257 *args: Any,
1258 ) -> None:
1259 super().__init__(*args)
1260 self.__previous_description = previous_description
1261 self.__new_description = new_description
1262
1263 @property
1264 def previous_description(self) -> TopologyDescription:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected