summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql/test_compiler.py
diff options
context:
space:
mode:
authorFederico Caselli <cfederico87@gmail.com>2021-04-07 22:02:10 +0200
committerFederico Caselli <cfederico87@gmail.com>2021-04-10 15:36:33 +0200
commit9fd4d188708ff4d5a11dde806acda6792b810703 (patch)
tree930f9a883d833aae887d776bf4914e28dd395909 /test/dialect/postgresql/test_compiler.py
parent3770dbd0028c490f72325f1c13917b021c6f6dbb (diff)
downloadsqlalchemy-9fd4d188708ff4d5a11dde806acda6792b810703.tar.gz
Unify native and non-native valid values for ``Enum``
Unify behaviour :class:`_schema.Enum` in native and non-native implementations regarding the accepted values for an enum with aliased elements. When :paramref:`_schema.Enum.omit_aliases` is ``False`` all values, alias included, are accepted as valid values. When :paramref:`_schema.Enum.omit_aliases` is ``True`` only non aliased values are accepted as valid values. Fixes: #6146 Change-Id: I6f40789c1ca56e533990882deadcc6a377d4fc40
Diffstat (limited to 'test/dialect/postgresql/test_compiler.py')
0 files changed, 0 insertions, 0 deletions