Open TimPansino opened 1 year ago
Proposed solution in #751.
It seems the use of mocking interfered with testing these APIs as the return types for the underlying AsyncClient were mocked incorrectly. Either as a result of drift or just incorrect assumptions.
Typing is an issue, linking this to the parent issue #447
This will be addressed along with https://github.com/googleapis/python-firestore/issues/773
Environment details
google-cloud-firestore
version: 2.11.1 (main
)Steps to reproduce
get_all()
,get(doc_ref)
,get(query)
).coroutine
notasync_generator
.coroutine
instead hoping to receive anasync_generator
now, exception is thrown as library code unexpectedly attempts to await anasync_generator
.Code example
Stack trace
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!