mypy does not recognize a not implemented async method as an async generator #703
Labels
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.
mypy
does not recognize the abstract async content method fromgoogle.auth.aio.transport.Response
as an async generator because it looks for theyield
keyword and the abstract method is not implemented. Currently, we've silenced mypy for this issue since the code works as expected.Follow up on this issue and remove
# type: ignore
from the relevant spot when fixed. This can be looked up by searching for this issue in the code.python-api-core/google/api_core/rest_streaming_async.py
Line 52 in 58516ef
The text was updated successfully, but these errors were encountered: