cloud-sql-python-connector icon indicating copy to clipboard operation
cloud-sql-python-connector copied to clipboard

Create `asyncpg` connections using pre-configured SSLSocket

Open jackwotherspoon opened this issue 1 year ago • 1 comments

Need to update Python Connector to allow asyncpg connections through the use of a pre-configured SSLSocket or asyncio equivalent in order to unblock future IAM checks requiring a socket read/write prior to connecting to Cloud SQL.

Similar to current pymysql implementation but through the use of asyncio's loop.create_connection()

This will require an up-stream patch to the asyncpg library.

jackwotherspoon avatar Jul 11 '23 19:07 jackwotherspoon

https://github.com/MagicStack/asyncpg/issues/1054

enocom avatar Nov 16 '23 19:11 enocom