Skip to content

Commit 4244d8e

Browse files
committed
fixup! feat(firestore): *DocumentReference: add types
1 parent 2e2ab7d commit 4244d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/google-cloud-firestore/google/cloud/firestore_v1/base_document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __eq__(self, other: object) -> bool:
133133
return NotImplemented
134134

135135
def __hash__(self) -> int:
136-
return hash(self._path) + hash(self._client)
136+
return hash((self._path, self._client))
137137

138138
def __ne__(self, other) -> bool:
139139
"""Inequality check against another instance.

0 commit comments

Comments
 (0)