We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_mongos
1 parent e59a11e commit b8653b0Copy full SHA for b8653b0
pymongo/mongo_client.py
@@ -1080,7 +1080,7 @@ def is_primary(self) -> bool:
1080
def is_mongos(self) -> bool:
1081
"""If this client is connected to mongos. If the client is not
1082
connected, this will block until a connection is established or raise
1083
- ServerSelectionTimeoutError if no server is available..
+ ServerSelectionTimeoutError if no server is available.
1084
"""
1085
return self._server_property("server_type") == SERVER_TYPE.Mongos
1086
0 commit comments