You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ defaults for each connection to make, you can initialize a custom
107
107
`Connector` object directly:
108
108
109
109
```python
110
-
from google.cloud.sql.connector import Connector
110
+
from google.cloud.sql.connector import Connector, IPTypes
111
111
112
112
# Note: all parameters below are optional
113
113
connector = Connector(
@@ -190,10 +190,12 @@ with pool.connect() as db_conn:
190
190
The Cloud SQL Connector for Python can be used to connect to Cloud SQL instances using both public and private IP addresses. To specify which IP address to use to connect, set the `ip_type` keyword argument Possible values are `IPTypes.PUBLIC` and `IPTypes.PRIVATE`.
0 commit comments