triopg icon indicating copy to clipboard operation
triopg copied to clipboard

PostgreSQL client for Trio based on asyncpg

Results 5 triopg issues
Sort by recently updated
recently updated
newest added

`@asynccontextgenerator` is available in the standard `contextlib` module from Python 3.7+, and available via package for 3.5 and 3.6. This uses the package, but its not listed as a dependency....

Originally reported by @vxgmichel connection pool's `acquire` context manager returns a connection proxy object that can still be used after we have left the context manager (instead of raising an...

I'm not sure whether this is a `triopg`, `quart_trio`, `trio_asyncio` or a `trio` issue. I'm trying to create and store a database connection using Quart's `while_serving` handler like so: ```...

I originally came up with the [listen](https://github.com/python-trio/triopg/blob/ccf44f9b40f0dc1945b8dcd152deaba11f195b28/triopg/_triopg.py#L131) helper for my personal code and I am very happy to see it implemented directly in triopg. Now in asyncpg v0.24 [add_listener](https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.connection.Connection) now...

Today I was trying to do something that the documentation says is not supported: > `triopg` does not support manual resource management And then I've realized I was the one...