Get SAConnection from returnee of aiomysql.create_pool(*args, **kwargs)
Aperta
docs
sqlalchemy
- Lingua principale
- Python
- Stelle
- 1.9k
- Fork
- 272
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```python
pool = aiomysql.create_pool(~~)
async with pool.acquire() as conn:
conn.execute(~~~)
```
above code is failed, because of conn is aiomysql.Connection not aiomysql.SAConnection.
How to deal with pool and SA features both?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.