PYTHON-3870 add types to write_concern.py (#1325)
This commit is contained in:
parent
adbb578b9d
commit
efcbfbef8c
@ -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())
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user