Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the create_pool function in the client.py file of the psycopg backend to eliminate the runtime warning of psycopg_pool #1697

Merged
merged 1 commit into from
Aug 17, 2024

Commits on Aug 14, 2024

  1. Update client.py

    psycopg_pool updated and generated a RuntimeWarning. 
    "RuntimeWarning: opening the async pool AsyncConnectionPool in the constructor is deprecated and will not be supported anymore in a future release. Please use `await pool.open()`, or use the pool as context manager using: `async with AsyncConnectionPool(...) as pool: `..."
    update "create_pool" function, call "await pool.open()" explicitly.
    zxj17815 authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    441ebb1 View commit details
    Browse the repository at this point in the history