MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / __init__

Method __init__

pymongo/monitoring.py:1177–1185  ·  view source on GitHub ↗
(
        self,
        previous_description: ServerDescription,
        new_description: ServerDescription,
        *args: Any,
    )

Source from the content-addressed store, hash-verified

1175 __slots__ = ("__previous_description", "__new_description")
1176
1177 def __init__(
1178 self,
1179 previous_description: ServerDescription,
1180 new_description: ServerDescription,
1181 *args: Any,
1182 ) -> None:
1183 super().__init__(*args)
1184 self.__previous_description = previous_description
1185 self.__new_description = new_description
1186
1187 @property
1188 def previous_description(self) -> ServerDescription:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected