We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6901662 commit b04bd37Copy full SHA for b04bd37
cloud-sql/postgres/sqlalchemy/main.py
@@ -164,6 +164,8 @@ def init_unix_connection_engine(db_config):
164
# Equivalent URL:
165
# postgresql+pg8000://:@/
166
# ?unix_sock=//.s.PGSQL.5432
167
+ # Note: Some drivers require the `unix_sock` query parameter to use a different key.
168
+ # For example, 'psycopg2' uses the path set to `host` in order to connect successfully.
169
sqlalchemy.engine.url.URL.create(
170
drivername="postgresql+pg8000",
171
username=db_user, # e.g. "my-database-user"
0 commit comments