PYTHON-3870 add types to write_concern.py (#1325)

This commit is contained in:
Iris 2023-07-24 16:05:03 -07:00 committed by GitHub
parent adbb578b9d
commit efcbfbef8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,7 @@ class WriteConcern:
"""
return self.__acknowledged
def __repr__(self):
def __repr__(self) -> str:
return "WriteConcern({})".format(
", ".join("{}={}".format(*kvt) for kvt in self.__document.items())
)