From d746ea9579238d41c66f173e5c39d561d094f7f8 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 22 Feb 2018 19:47:24 -0500 Subject: Allow bind processors to work with expanding IN Fixed bug in new "expanding IN parameter" feature where the bind parameter processors for values wasn't working at all, tests failed to cover this pretty basic case which includes that ENUM values weren't working. Change-Id: I8e2420d7229a3e253e43b5227ebb98f9fe0bd14a Fixes: #4198 --- lib/sqlalchemy/engine/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/engine/default.py') diff --git a/lib/sqlalchemy/engine/default.py b/lib/sqlalchemy/engine/default.py index ed2ed0509..5806fe2a9 100644 --- a/lib/sqlalchemy/engine/default.py +++ b/lib/sqlalchemy/engine/default.py @@ -766,7 +766,7 @@ class DefaultExecutionContext(interfaces.ExecutionContext): compiled_params.update(to_update) processors.update( (key, processors[name]) - for key in to_update if name in processors + for key, value in to_update if name in processors ) if compiled.positional: positiontup.extend(name for name, value in to_update) -- cgit v1.2.1