Open jackwotherspoon opened 7 months ago
Added support for driver user agents as part of #191 but it is not a long-term solution. Since we support only asyncpg
through the AsyncConnector
class and only pg8000
through the Connector
it works currently. But it would not if we were to add support for a new driver so it needs improving still.
Now that we support
asyncpg
andpg8000
we should try to add the driver being used by the connector's client to the user agent stringhttps://github.com/GoogleCloudPlatform/alloydb-python-connector/blob/main/google/cloud/alloydb/connector/client.py#L28