Remove extra period in is_mongos documentation (#967)

This commit is contained in:
Atiab Bin Zakaria 2022-06-09 23:10:03 +08:00 committed by GitHub
parent e59a11ef4b
commit b8653b018d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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