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.
1 parent 43d3fa6 commit f8b79a1Copy full SHA for f8b79a1
pymongo/results.py
@@ -26,7 +26,7 @@ class _WriteResult:
26
def __init__(self, acknowledged: bool) -> None:
27
self.__acknowledged = acknowledged
28
29
- def _raise_if_unacknowledged(self, property_name):
+ def _raise_if_unacknowledged(self, property_name: str) -> None:
30
"""Raise an exception on property access if unacknowledged."""
31
if not self.__acknowledged:
32
raise InvalidOperation(
0 commit comments