cloud-sql-python-connector
cloud-sql-python-connector copied to clipboard
chore: use connector factory for asyncpg connections
I think we can follow the approach here to gain access to the socket, do a read and write, close the transport, and then create a new connection that uses the database protocol.
Depends on https://github.com/enocom/asyncpg/commit/2d3bbb8e90078fdae7fdb925e425d521b376f583 (which would have to be a PR into asyncpg)