Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake PoolAcquireContext return a Connection type #578
Conversation
`__aenter__` should be defined to return a `Connection` type. This will help IDEs to properly help suggesting methods when using with `pool.acquire() as con`
|
I forgot I have made an relevant issue 1.5 years ago #387. |
|
There is a comprehensive effort to add type annotations in #577 |
__aenter__inPoolAcquireContextshould be defined to return aConnectiontype. This will help IDEs to properly help suggesting methods when using syntax:instead of doing this:
Before:

After:
