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
Not sure if i'm better asking this on the cloud sql python connector repo or here, but I'm trying to understand how to effectively call asyncpg.create_pool(...) but make it work with the cloudsql connector.
I can create a single asyncpg-style connection using this:
but i'm not sure how to do a complete drop in replacement for async.create_pool, which is what we have in the existing codebase; I'm hoping to retain the pool object as is so that the rest of the codebase doesn't need to be modified in light of switching to CloudSQL.
Thanks!
The text was updated successfully, but these errors were encountered:
Not sure if i'm better asking this on the cloud sql python connector repo or here, but I'm trying to understand how to effectively call
asyncpg.create_pool(...)
but make it work with the cloudsql connector.I can create a single asyncpg-style connection using this:
but i'm not sure how to do a complete drop in replacement for
async.create_pool
, which is what we have in the existing codebase; I'm hoping to retain the pool object as is so that the rest of the codebase doesn't need to be modified in light of switching to CloudSQL.Thanks!
The text was updated successfully, but these errors were encountered: