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 摘要。