cloud-sql-python-connector
cloud-sql-python-connector copied to clipboard
A Python library for connecting securely to your Cloud SQL instances.
Note: #502 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky. ---- commit: eaa371d95509f97b8951d80046a5a273bece489a buildURL: https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/actions/runs/8523895929 status: failed
### Question I'm working on a temporary fix to allow us to connect a Django app to Cloud SQL while waiting for the Connector change mentioned in [Issue#437](https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/issues/437). I am...
New best practice for checking validity of credentials is no longer `credentials.valid` which is now deprecated (as of google-auth v2.24.0). Instead the google-auth folks recommend using [`credentials.token_state`](https://github.com/googleapis/google-auth-library-python/blob/main/google/auth/credentials.py#L100) All instances of...
Looks like sometime code coverage check is getting stuck on base branch code coverage, image below shows where test is hanging.
Standardize debug logging across the connector libraries: Presently, we want to log the following: ## Logging for refresh operations - When a refresh operation starts - Before the rate limiter...
Currently we cache `Instance()` configs by instance connection name. Which means we throw an error if users try to connect to the same instance with `enable_iam_auth=False` and then with `enable_iam_auth=True`...
Note: #757 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky. ---- commit: e08770422f05c96b1349d1505aab511b15ed1885 buildURL: https://github.com/GoogleCloudPlatform/cloud-sql-python-connector/actions/runs/8197674467 status: failed
User agent currently is set during the first connection call. Subsequent calls have no way of updating the custom user agent. Aka if you create a connector and use it...
Docstrings should follow Google style guide: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings
Nowadays it is recommended to package python libraries using [`pyproject.toml`](https://packaging.python.org/en/latest/guides/writing-pyproject-toml/) over setup.py This comes with the added benefit of having all configuration in one file, so the removal of `mypy.ini`,...