Toggle table of contents sidebar
server_description
– An object representation of a server the driver is connected to.¶
Represent one server the driver is connected to.
See also
This module is compatible with both the synchronous and asynchronous PyMongo APIs.
Immutable representation of one server.
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)
The address (host, port) of this server.
List of hosts, passives, and arbiters known to this server.
The last error attempting to connect to the server, or None.
The min latency from the most recent samples.
This server’s opinion about who the primary is, or None.
Replica set name or None.
Checks if this server supports retryable writes.
Checks if this server supports retryable writes.
The current average latency or None.
The type of this server.
The server type as a human readable string.
Added in version 3.4.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4