Skip to content

warn when the type hint of an async generator is not AsyncGenerator #233

Open
@graingert

Description

@graingert

Typing an async generator as AsyncIterator or AsyncIterable prevents wrapping it with contextlib.aclosing

Metadata

Metadata

Assignees

No one assigned

    Labels

    postponedLow priority, blocked, or similar.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions