Remove extra period in is_mongos documentation (#967)
This commit is contained in:
parent
e59a11ef4b
commit
b8653b018d
@ -1080,7 +1080,7 @@ class MongoClient(common.BaseObject, Generic[_DocumentType]):
|
||||
def is_mongos(self) -> bool:
|
||||
"""If this client is connected to mongos. If the client is not
|
||||
connected, this will block until a connection is established or raise
|
||||
ServerSelectionTimeoutError if no server is available..
|
||||
ServerSelectionTimeoutError if no server is available.
|
||||
"""
|
||||
return self._server_property("server_type") == SERVER_TYPE.Mongos
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user