]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
fixup: try_cast v2
authorNick Crews <nicholas.b.crews@gmail.com>
Tue, 9 May 2023 18:51:42 +0000 (10:51 -0800)
committerNick Crews <nicholas.b.crews@gmail.com>
Tue, 9 May 2023 18:51:42 +0000 (10:51 -0800)
commit8161ac24008f75f5ecc6f8d69795688671c8df06
tree311a998fb33cecf3d4821983505684cc1a719894
parent9fc21c07b7cd3206a78fcc8665304fcbc2c5b27a
fixup: try_cast v2

- update changelog entry
- don't deprecate accessing try_cast from mssql. Revert my test change
  to be consistent.
- re-export try_cast from the root place in mssql/__init__.py
- Move visit_try_cast() to base compiler

Still not sure exactly about where the test should live,
since it only should work for mssql, so I'm not sure how to
add it to the generic tests but
specify it to run only for mssql.
doc/build/changelog/unreleased_20/9752.rst
lib/sqlalchemy/dialects/mssql/__init__.py
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/sql/compiler.py
test/dialect/mssql/test_compiler.py