Skip to content

Commit bc61199

Browse files
Update pymongo/asynchronous/mongo_client.py
Co-authored-by: Noah Stapp <[email protected]>
1 parent 4c23ee0 commit bc61199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/asynchronous/mongo_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ def __hash__(self) -> int:
12291229
if hasattr(self, "_topology"):
12301230
return hash(self._topology)
12311231
else:
1232-
raise InvalidOperation("Cannot perform operation until client is connected")
1232+
raise InvalidOperation("Cannot hash client until it is connected")
12331233

12341234
def _repr_helper(self) -> str:
12351235
def option_repr(option: str, value: Any) -> str:

0 commit comments

Comments
 (0)