Closed DanielNoord closed 1 week ago
Removed the stringified annotations based on the review in https://github.com/MagicStack/asyncpg/pull/1198 as that seems to be the preferred style.
@elprans Anything I can do to help get this merged? I don't want to spam you with pull requests but these are relatively trivial to make and there is still many more to make as well.
I'd like to find the most productive way to get these and other pull requests merged. For example, is there anybody else in the MagicStack team that can help review and merge these?
In an effort to add more type annotations to common interfaces I decided to tackle some of the simpler methods. Also, to familiarise myself with the CI and project.
There is nothing groundbreaking in this PR. It:
-> None
for functions that are not returning anything__aexit__
to be the correct full typePoolConnectionHolder
,PoolConnectionProxyMeta
andPoolAcquireContext
based on actual usage patterns.Let me know if there are any questions. I didn't really see any style checking recommendations in the documentation or
setup.py
so just used whatblack
,ruff
and others have decided is the de facto style of "modern" Python code.