aio-libs / aiohttp-demos

Demos for aiohttp project

Home Page:https://demos.aiohttp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plans to add Typing?

Henddher opened this issue · comments

Hi,

Any plans to add typing to all demos?

So far, it hasn't been too hard to add typing to my code using aiohttp's websockets. However, it is a bit tricky to navigate aiohttp's code to find what and where the types are.

I think that adding typing to all demos would help new comers.

Feel free to make a PR (maybe 1 demo at a time). Ask any questions here or in the PR if you are unsure.

From what I've seen, it's pretty straightforward, and I don't normally need to look at the aiohttp code (atleast since we've added Handler and Middleware type aliases).