From: Gord Thompson Date: Wed, 4 Dec 2019 00:02:19 +0000 (-0700) Subject: Add note re: pyodbc keywords in lowercase. X-Git-Tag: rel_1_3_13~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e3d46eacd0aef9cb55574da5ded245a155dd935;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add note re: pyodbc keywords in lowercase. (cherry picked from commit 511964302467140a25fb50c68a1c96d24a079b80) --- diff --git a/lib/sqlalchemy/dialects/mssql/pyodbc.py b/lib/sqlalchemy/dialects/mssql/pyodbc.py index 954632eb2d..9ce6861c06 100644 --- a/lib/sqlalchemy/dialects/mssql/pyodbc.py +++ b/lib/sqlalchemy/dialects/mssql/pyodbc.py @@ -53,6 +53,8 @@ name must be URL encoded which means using plus signs for spaces:: Other keywords interpreted by the Pyodbc dialect to be passed to ``pyodbc.connect()`` in both the DSN and hostname cases include: ``odbc_autotranslate``, ``ansi``, ``unicode_results``, ``autocommit``. +Note that in order for the dialect to recognize these keywords +(including the ``driver`` keyword above) they must be all lowercase. Pass through exact Pyodbc string ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^