Skip to content

Easy way to get common types for annotations #4686

Closed
@Dreamsorcerer

Description

🐣 Is your feature request related to a problem? Please describe.
I'm unclear what the best way currently is to make use of type annotations in my own aiohttp projects.

💡 Describe the solution you'd like
One of the aiohttp-demos to be updated with full type hinting to serve as an example.

Describe alternatives you've considered
The only way I can see at the moment, is with importing protected objects from various modules.

e.g. from aiohttp.web_app import _Handler
though this is also in aiohttp.web_urldispatcher._WebHandler

Types to add:

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions