diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-01-11 09:46:19 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-01-11 09:46:19 -0500 |
| commit | ae718bbe797f8c06f8ef88a993af7e14007f1834 (patch) | |
| tree | 7c7a325aa40e237ee430332d0b36d9f21766c5f7 /lib/sqlalchemy/dialects | |
| parent | 4e9fe6e3b7a72fc3b116403ea9b27e847b5bf186 (diff) | |
| download | sqlalchemy-ae718bbe797f8c06f8ef88a993af7e14007f1834.tar.gz | |
remove non-working mssql description_encoding param
the description_encoding concept has been fully
removed in 2.0, but this logic was plainly broken
in any case. The same non-working logic exists in
1.4 as well, where description_encoding as a concept
is not removed, though it is likely that there are no
real-world use cases for it.
Change-Id: Icaf47f4740e3f57063b614a1d4136e0d89f40621
Diffstat (limited to 'lib/sqlalchemy/dialects')
| -rw-r--r-- | lib/sqlalchemy/dialects/mssql/pyodbc.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/sqlalchemy/dialects/mssql/pyodbc.py b/lib/sqlalchemy/dialects/mssql/pyodbc.py index b629aadd3..3af083a6a 100644 --- a/lib/sqlalchemy/dialects/mssql/pyodbc.py +++ b/lib/sqlalchemy/dialects/mssql/pyodbc.py @@ -512,11 +512,7 @@ class MSDialect_pyodbc(PyODBCConnector, MSDialect): }, ) - def __init__( - self, description_encoding=None, fast_executemany=False, **params - ): - if "description_encoding" in params: - self.description_encoding = params.pop("description_encoding") + def __init__(self, fast_executemany=False, **params): super(MSDialect_pyodbc, self).__init__(**params) self.use_scope_identity = ( self.use_scope_identity |
