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

Method __init__

pymongo/monitoring.py:873–881  ·  view source on GitHub ↗
(
        self,
        address: _Address,
        service_id: Optional[ObjectId] = None,
        interrupt_connections: bool = False,
    )

Source from the content-addressed store, hash-verified

871 __slots__ = ("__service_id", "__interrupt_connections")
872
873 def __init__(
874 self,
875 address: _Address,
876 service_id: Optional[ObjectId] = None,
877 interrupt_connections: bool = False,
878 ) -> None:
879 super().__init__(address)
880 self.__service_id = service_id
881 self.__interrupt_connections = interrupt_connections
882
883 @property
884 def service_id(self) -> Optional[ObjectId]:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected