From 9d4b9adba0811d607e9f2fa8657648e96475ee57 Mon Sep 17 00:00:00 2001 From: Matt John Date: Tue, 15 Apr 2025 20:05:36 +0100 Subject: [PATCH] chore: Fix typo of psycopg2 in comment (#12526) This is the first example in the documentation of a particular connector, which mgith result in copy+pastes, resulting in an error (cherry picked from commit f2a9ecde29bb9d5daadd0626054ff8b54865c781) Change-Id: I493f7d4ac780ac61c6ae17695de71bab19e67a46 --- lib/sqlalchemy/dialects/postgresql/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index c3cedf6d60..0e98a41bc6 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -265,7 +265,7 @@ will remain consistent with the state of the transaction:: from sqlalchemy import event postgresql_engine = create_engine( - "postgresql+pyscopg2://scott:tiger@hostname/dbname", + "postgresql+psycopg2://scott:tiger@hostname/dbname", # disable default reset-on-return scheme pool_reset_on_return=None, -- 2.47.3