cloud-sql-python-connector 1.18.5__tar.gz → 1.19.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/PKG-INFO +18 -5
  2. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/README.md +17 -4
  3. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/cloud_sql_python_connector.egg-info/PKG-INFO +18 -5
  4. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/version.py +1 -1
  5. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/LICENSE +0 -0
  6. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/cloud_sql_python_connector.egg-info/SOURCES.txt +0 -0
  7. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/cloud_sql_python_connector.egg-info/dependency_links.txt +0 -0
  8. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/cloud_sql_python_connector.egg-info/requires.txt +0 -0
  9. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/cloud_sql_python_connector.egg-info/top_level.txt +0 -0
  10. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/__init__.py +0 -0
  11. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/asyncpg.py +0 -0
  12. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/client.py +0 -0
  13. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/connection_info.py +0 -0
  14. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/connection_name.py +0 -0
  15. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/connector.py +0 -0
  16. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/enums.py +0 -0
  17. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/exceptions.py +0 -0
  18. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/instance.py +0 -0
  19. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/lazy.py +0 -0
  20. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/monitored_cache.py +0 -0
  21. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/pg8000.py +0 -0
  22. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/py.typed +0 -0
  23. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/pymysql.py +0 -0
  24. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/pytds.py +0 -0
  25. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/rate_limiter.py +0 -0
  26. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/refresh_utils.py +0 -0
  27. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/resolver.py +0 -0
  28. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/google/cloud/sql/connector/utils.py +0 -0
  29. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/pyproject.toml +0 -0
  30. {cloud_sql_python_connector-1.18.5 → cloud_sql_python_connector-1.19.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloud-sql-python-connector
3
- Version: 1.18.5
3
+ Version: 1.19.0
4
4
  Summary: Google Cloud SQL Python Connector library
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License-Expression: Apache-2.0
@@ -387,14 +387,27 @@ conn = connector.connect(
387
387
  )
388
388
  ```
389
389
 
390
- ### Using DNS domain names to identify instances
390
+ ### Using Advanced Disaster Recovery and DNS domain names to identify instances
391
391
 
392
- The connector can be configured to use DNS to look up an instance. This would
393
- allow you to configure your application to connect to a database instance, and
394
- centrally configure which instance in your DNS zone.
392
+ The connector can be configured to use DNS to look up an instance.
393
+ Use a DNS name managed by Cloud SQL [Advanced Disaster Recovery](https://docs.cloud.google.com/sql/docs/mysql/use-advanced-disaster-recovery),
394
+ or a domain name that you manage.
395
+
396
+ #### Using Advanced Recovery Write Endpoint DNS Name
397
+
398
+ [Advanced Disaster Recovery](https://docs.cloud.google.com/sql/docs/mysql/use-advanced-disaster-recovery)
399
+ creates geographically distributed replicas of your Cloud SQL database instance. When you perform
400
+ switchover or failover on the database instance, the connector will gracefully disconnect from the
401
+ old primary instance and reconnect to the new primary instance.
402
+
403
+ Follow the instructions in [Connect using Write Endpoint](https://docs.cloud.google.com/sql/docs/mysql/connect-to-instance-using-write-endpoint)
404
+ to get the write endpoint DNS name for your primary instance. Then, use this write endpoint DNS
405
+ name to configure the connector.
395
406
 
396
407
  #### Configure your DNS Records
397
408
 
409
+ The connector may be configured to use DNS that you define as well.
410
+
398
411
  Add a DNS TXT record for the Cloud SQL instance to a **private** DNS server
399
412
  or a private Google Cloud DNS Zone used by your application.
400
413
 
@@ -348,14 +348,27 @@ conn = connector.connect(
348
348
  )
349
349
  ```
350
350
 
351
- ### Using DNS domain names to identify instances
351
+ ### Using Advanced Disaster Recovery and DNS domain names to identify instances
352
352
 
353
- The connector can be configured to use DNS to look up an instance. This would
354
- allow you to configure your application to connect to a database instance, and
355
- centrally configure which instance in your DNS zone.
353
+ The connector can be configured to use DNS to look up an instance.
354
+ Use a DNS name managed by Cloud SQL [Advanced Disaster Recovery](https://docs.cloud.google.com/sql/docs/mysql/use-advanced-disaster-recovery),
355
+ or a domain name that you manage.
356
+
357
+ #### Using Advanced Recovery Write Endpoint DNS Name
358
+
359
+ [Advanced Disaster Recovery](https://docs.cloud.google.com/sql/docs/mysql/use-advanced-disaster-recovery)
360
+ creates geographically distributed replicas of your Cloud SQL database instance. When you perform
361
+ switchover or failover on the database instance, the connector will gracefully disconnect from the
362
+ old primary instance and reconnect to the new primary instance.
363
+
364
+ Follow the instructions in [Connect using Write Endpoint](https://docs.cloud.google.com/sql/docs/mysql/connect-to-instance-using-write-endpoint)
365
+ to get the write endpoint DNS name for your primary instance. Then, use this write endpoint DNS
366
+ name to configure the connector.
356
367
 
357
368
  #### Configure your DNS Records
358
369
 
370
+ The connector may be configured to use DNS that you define as well.
371
+
359
372
  Add a DNS TXT record for the Cloud SQL instance to a **private** DNS server
360
373
  or a private Google Cloud DNS Zone used by your application.
361
374
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cloud-sql-python-connector
3
- Version: 1.18.5
3
+ Version: 1.19.0
4
4
  Summary: Google Cloud SQL Python Connector library
5
5
  Author-email: Google LLC <googleapis-packages@google.com>
6
6
  License-Expression: Apache-2.0
@@ -387,14 +387,27 @@ conn = connector.connect(
387
387
  )
388
388
  ```
389
389
 
390
- ### Using DNS domain names to identify instances
390
+ ### Using Advanced Disaster Recovery and DNS domain names to identify instances
391
391
 
392
- The connector can be configured to use DNS to look up an instance. This would
393
- allow you to configure your application to connect to a database instance, and
394
- centrally configure which instance in your DNS zone.
392
+ The connector can be configured to use DNS to look up an instance.
393
+ Use a DNS name managed by Cloud SQL [Advanced Disaster Recovery](https://docs.cloud.google.com/sql/docs/mysql/use-advanced-disaster-recovery),
394
+ or a domain name that you manage.
395
+
396
+ #### Using Advanced Recovery Write Endpoint DNS Name
397
+
398
+ [Advanced Disaster Recovery](https://docs.cloud.google.com/sql/docs/mysql/use-advanced-disaster-recovery)
399
+ creates geographically distributed replicas of your Cloud SQL database instance. When you perform
400
+ switchover or failover on the database instance, the connector will gracefully disconnect from the
401
+ old primary instance and reconnect to the new primary instance.
402
+
403
+ Follow the instructions in [Connect using Write Endpoint](https://docs.cloud.google.com/sql/docs/mysql/connect-to-instance-using-write-endpoint)
404
+ to get the write endpoint DNS name for your primary instance. Then, use this write endpoint DNS
405
+ name to configure the connector.
395
406
 
396
407
  #### Configure your DNS Records
397
408
 
409
+ The connector may be configured to use DNS that you define as well.
410
+
398
411
  Add a DNS TXT record for the Cloud SQL instance to a **private** DNS server
399
412
  or a private Google Cloud DNS Zone used by your application.
400
413
 
@@ -12,4 +12,4 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- __version__ = "1.18.5"
15
+ __version__ = "1.19.0"