YV
Size: a a a
YV
YV
А
А
А
SK
import asyncio
import asyncpg
class Database:
def __init__(self, loop: asyncio.AbstractEventLoop):
print(config.PGPASSWORD)
self.loop = loop.run_until_complete(
asyncpg.create_pool(
user=admin,
password=admin,
host='127.0.0.1',
)
)
db = Database(loop=asyncio.get_event_loop())
ошибка asyncpg.exceptions.ConnectionDoesNotExistError: connection was closed in the middle of operation
Что я не так делаюА
🚲U
🚲U

except requests. exceptions.Timeout?А
SK
🚲U
🚲U

ES
🚲U
🚲U
🚲U
ES
🚲U
DS