diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-20 10:08:36 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-20 11:45:24 -0400 |
commit | 91a1022227499c8efce038c4a0a9bdcdb14a69d0 (patch) | |
tree | 8911d31a6c3a15731038211d9e8908c5dcdb2a2e /lib/sqlalchemy/processors.py | |
parent | 4e811fd72e615116c448fba323aa57f7efd4798c (diff) | |
download | sqlalchemy-91a1022227499c8efce038c4a0a9bdcdb14a69d0.tar.gz |
Disable Enum string validation by default
Rolled back the validation rules a bit in :class:`.Enum` to allow
unknown string values to pass through, unless the flag
``validate_string=True`` is passed to the Enum; any other kind of object is
still of course rejected. While the immediate use
is to allow comparisons to enums with LIKE, the fact that this
use exists indicates there may be more unknown-string-comparsion use
cases than we expected, which hints that perhaps there are some
unknown string-INSERT cases too.
Change-Id: I7d1d79b374a7d47966d410998f77cd19294ab7b0
Fixes: #3725
Diffstat (limited to 'lib/sqlalchemy/processors.py')
0 files changed, 0 insertions, 0 deletions