You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
The type for the generated batch_get_all is AsyncIterable[firestore.BatchGetDocumentsResponse], but was incorrectly mocked as Iterable[firestore.BatchGetDocumentsResponse].
Sorry, I just realized my description was a bit misleading. The incorrectly mocked type was in the Firestore test I wrote to test get_all, in which I was mocking the return type of batch_get_all. The generated code functioned fine, my use of it was slightly flawed.
Activity
crwilcox commentedon Jul 23, 2020
@rafilong can you open this against https://github.com/googleapis/gapic-generator-python as well?
rafilong commentedon Jul 23, 2020
Sorry, I just realized my description was a bit misleading. The incorrectly mocked type was in the Firestore test I wrote to test
get_all, in which I was mocking the return type ofbatch_get_all. The generated code functioned fine, my use of it was slightly flawed.