You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
... my code
await database.execute(query)
File "/usr/local/lib/python3.10/site-packages/databases/core.py", line 169, in execute
async with self.connection() as connection:
File "/usr/local/lib/python3.10/site-packages/databases/core.py", line 256, in __aenter__
raise e
File "/usr/local/lib/python3.10/site-packages/databases/core.py", line 253, in __aenter__
await self._connection.acquire()
File "/usr/local/lib/python3.10/site-packages/databases/backends/aiopg.py", line 105, in acquire
assert self._connection is None, "Connection is already acquired"
AssertionError: Connection is already acquired