server_description
– An object representation of a server the driver is connected to.
Represent one server the driver is connected to.
- class pymongo.server_description.ServerDescription
Immutable representation of one server.
- Parameters:
address (_Address) – A (host, port) pair
hello (Optional[Hello]) – Optional Hello instance
round_trip_time (Optional[float]) – Optional float
error (Optional[Exception]) – Optional, the last error attempting to connect to the server
round_trip_time – Optional float, the min latency from the most recent samples
min_round_trip_time (float)