Skip to content

Conversation

@Vizonex
Copy link

@Vizonex Vizonex commented Nov 19, 2025

Found this library to be rather useful for newer protocols and I wanted to lend a hand while I wait for things to be done with aiohttp (since I'm a contributor over there). One of which being type hints since type hinting code lowers the chance of the developer screwing up and helps keep things up to date. I would've ran ruff or mypy but I wanted to get permission first before I attempt to do something like that so for now I'll just type hint what I thought was missing from this project.

I also used Pipes instead of Union or Optional since 3.9 has been dropped from this project and it would be a good idea to migrate to this new annotation style in the future.

I marked -> Self as a TODO since I don't know how the maintainers wanted to go about adding that in Otherwise I would suggest wrapping AsyncSession and Session around a @final wrapper similar to what is in aiohttp.

@lexiforest
Copy link
Owner

Thanks, looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants