Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mypy does not recognize a not implemented async method as an async generator #703

Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
@ohmayr

Description

@ohmayr

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.

self._response_itr=self._response.content().__aiter__()

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp