| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…eturns a Connection.
|
i face the same issue today in 2022. and for whatever reason "-> connection.Connection:" doesn't seem to be working. But if i actually "from .connection import Connection" and make it "-> Connection:", everything works great. I don't feel like a very experienced pullrequester, can someone please check what's wrong 😂 |
Sorry, something went wrong.
|
See my explanation in #578 (comment). This would actually be incorrect and I have proposed an improved patch in that PR. I'd suggest closing this PR to not have two PRs open with the same intent. |
Sorry, something went wrong.
|
Thanks will do. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This branch allows type checking editors like VScode to determine that async with pg.acquire() as conn results in conn having a type of asyncpg.connection.Connection.