Skip to content

iter_chunks type annotation wrong #3230

Closed
@dfroger

Description

read_func is typed as returning Awaitable[bytes], but it seems to be rather Awaitable[Tuple[bytes, bool]] (but I don't know the aiohttp code so I'm not sure this is the correct type or if it's general enough).

This make the returned type of the public method iter_chunks to be wrong.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions