DocumentSnapshots cannot be stored in a set, unlike DocumentReference #391
Labels
api: firestore
Issues related to the googleapis/python-firestore API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
python 3.7
pip 21.1.3
google-cloud-firestore 2.1.0
Steps to reproduce
result
)set(result)
Code example
Stack trace
The same does not throw an error when we store
DocumentReference
objects in a set.Also, modifying
__hash__
as below works:The text was updated successfully, but these errors were encountered: