GoogleCloudPlatform / GoogleCloudPlatform/cloud-sql-python-connector

Create `asyncpg` connections using pre-configured SSLSocket

未关闭
#792 2 条评论 1 个 reaction 已指派 1 人 已指派给 @hessjcg 在 GitHub 查看
priority: p2 type: feature request
主要语言
Python
星标
344
派生
89
平均合并
5 小时 33 分钟
30 天内合并 PR
2

描述

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](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/blob/main/google/cloud/sql/connector/pymysql.py#L53) but through the use of asyncio's `loop.create_connection()`

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。