From 3d691201bb0b67da99633dd6361b6ecd85cab33a Mon Sep 17 00:00:00 2001 From: Margarida Silva Date: Mon, 29 Nov 2021 09:11:48 +0000 Subject: [PATCH] fix: convert to type in 'contains' value method --- src/appier/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appier/model.py b/src/appier/model.py index 6f5283f0..4974f5d3 100644 --- a/src/appier/model.py +++ b/src/appier/model.py @@ -222,7 +222,7 @@ "is_null" : lambda v, t: None, "not_null" : lambda v, t: None, "is_not_null" : lambda v, t: None, - "contains" : lambda v, t: [v for v in v.split(";")] + "contains" : lambda v, t: [t(v) for v in v.split(";")] } """ Map that associates each of the normalized operations with an inline function that together with the data type maps the