Represent a deployment of MongoDB servers.
Representation of a deployment of MongoDB servers.
Parameters: |
|
---|
Does this topology have any readable servers available matching the given read preference?
Parameters: |
|
---|
Note
When connected directly to a single server this method always returns True.
New in version 3.4.
Does this topology have a writable server available?
Note
When connected directly to a single server this method always returns True.
New in version 3.4.
Dict of (address, ServerDescription).
The type of this topology.
The topology type as a human readable string.
New in version 3.4.