Firestore: watch unsubscribe generates unexpected exception #7826
Labels
api: firestore
Issues related to the 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.
When issuing an unsubscribe() on an existing watch, an exception is emitted. While python continues to function and any new on_snapshot queries work, it's not ideal to have these exceptions.
https://firebase.google.com/docs/firestore/query-data/listen#detach_a_listener
Environment details
pip show google-<service>
orpip freeze
cachetools==3.1.0
certifi==2019.3.9
chardet==3.0.4
google-api-core==1.10.0
google-auth==1.6.3
google-cloud-core==0.29.1
google-cloud-firestore==1.0.0
googleapis-common-protos==1.5.10
grpcio==1.20.1
idna==2.8
protobuf==3.7.1
pyasn1==0.4.5
pyasn1-modules==0.2.5
pytz==2019.1
requests==2.21.0
rsa==4.0
six==1.12.0
urllib3==1.24.2
Steps to reproduce
Expected behavior is no exception.
Code example
Example output showing the exception
The text was updated successfully, but these errors were encountered: