-
### Describe the bug
I hit a connection leak when cancelling an http handler task in a fastapi + starlette + BaseHTTPMiddleware + SA + asyncpg setup and managed to reproduce it with the code below.
…
-
### Bug Description
**Reason**
In `/llama_index/vector_stores/postgres/base.py`
```
conn_str = (
connection_string
or f"postgresql+psycopg2://{user}:{password…
-
### Describe the bug
There is no problem using asyncmy
There is a "RuntimeError: Event loop is closed" error when using aiomysql
Am I using it incorrectly? What's wrong?
### To Reproduce
…
-
Hi - would someone know how to profile async SQLAlchemy operations with this?
This works in the sense that I get to see something, but the timing is always ~1ms, maybe because that's how quickly th…
-
### Bug Description
After seeing that gevent is not supported (#969), we started to port our app from flask to quart. At the moment, we successfully ported some endpoints to quart, but still have o…
-
## What is the current behavior?
SQLAlchemy 1.4.0 introduced the [asyncio extension](https://docs.sqlalchemy.org/en/14/orm/extensions/asyncio.html) that add the ability to run queries in paralell.
…
-
user@openrelik:~/openrelik$ docker compose up
[+] Running 9/0
✔ Container openrelik-worker-strings Running 0.0…
-
### Describe the feature
It would be great to provide a SQLAlchemy async demo, thanks!
SQLAlchemy says it supports async since version 1.4
This repo readme says
> trino.sqlalchemy is compa…
-
**Describe the bug**
Hi, I start to apply async sqlalchemy to my project and got stuck as mocking an AsyncSession
**To Reproduce**
CRUD function:
```
async def get_record_by_id(db: AsyncSession, …
-
## Describe the bug
Hi 👋🏻
Thanks for creating fastapi-users. It's super helpful. I prefer type hint & autosuggestions everywhere hence I always use `MappedAsDataclass` in my every project. Howe…