cloud-sql-python-connector
cloud-sql-python-connector copied to clipboard
A Python library for connecting securely to your Cloud SQL instances.
Adding a validation step to validate format of database `user` argument for better error handling and debugging when using automatic IAM database authentication. **Postgres**: Removes `.gserviceaccount.com` domain suffix if it...
The Python Connector currently uses `raise_for_status=True` when using aiohttp's [`ClientSession`](https://docs.aiohttp.org/en/stable/client_reference.html). The default behaviour for this argument is to close http connections when response status code > 400 and raise generic...
Testing [pypy](https://www.pypy.org/) with the Python Connector - [asyncpg](https://github.com/MagicStack/asyncpg/issues/675) does not support `pypy` since it is a hardcore C-API extension - Python connector usage with `pymysql`, `pg8000`, `pytds` drivers is supported...
Todo: - [ ] Add supporting test infra - [ ] Update README
### Bug Description While running the provided code on Dataflow, getting the following error: ``` TypeError: Invalid argument(s) 'async_creator' sent to create_engine(), using configuration PGDialect_asyncpg/AsyncAdaptedQueuePool/Engine. Please check that the keyword...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pytest](https://togithub.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==7.4.4` -> `==8.1.1` |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://togithub.com/github/codeql-action) | action | patch | `v3.24.9` -> `v3.24.10` | ---...
:robot: I have created a release *beep* *boop* --- ## [1.9.0](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/compare/v1.8.0...v1.9.0) (2024-04-10) ### Features * add universe domain support to Connector (TPC) ([#1045](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/issues/1045)) ([b1e9dee](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/commit/b1e9deee216c57e6831162f6aded79511c5e38e3)) ### Dependencies * Update dependency google-auth...
### Bug Description I am using cloud sql connector in my fastapi server, it connects to cloud sql, I followed the example from tutorial, yet every few hours it gets...