Skip to content

Commit

Permalink
Merge pull request #50 from BeeMargarida/ms/ype-conversion-contains-v…
Browse files Browse the repository at this point in the history
…alue-method

fix: convert to type in 'contains' value method
  • Loading branch information
joamag committed Nov 29, 2021
2 parents 68d4b0a + 3d69120 commit 5074b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appier/model.py
Expand Up @@ -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
Expand Down

0 comments on commit 5074b27

Please sign in to comment.