Skip to content

The only tool you need to know what is happening and how to fix it.

200 B
Raw Blame
import os

from psycopg.rows import dict_row
from psycopg_pool import AsyncConnectionPool

pool = AsyncConnectionPool(os.environ.get("DATABASE_URL", ""), kwargs={"row_factory": dict_row}, open=False)