-
Type: New Feature
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Please add the way to check ServerType without using _private methods.
E.g. I need to check server type is Standalone or not.
Now it looks like:
client._server_property('server_type') == SERVER_TYPE.Standalone
But it's not good to user _private methods.
Please make something like your `is_mongos` property
- is related to
-
PYTHON-2480 Add MongoClient helper to access the current TopologyDescription
- Closed