You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A workaround is to wrap with a .has and default value: (has(.non_exist_fields) ? .non_exist_fields : []).all(p, true), but it's supposed to work on any nullable field.
cel-python version: 0.1.5
python version: 3.11.4
The text was updated successfully, but these errors were encountered:
Error:
TypeError: 'CELEvalError' object is not iterable
How to reproduce it?
For a CEL expression on iterable like
.exists
,.all
,.exist_one
, and an input with a null in the given field:it's the same even it's prefixed with a condition
A workaround is to wrap with a
.has
and default value:(has(.non_exist_fields) ? .non_exist_fields : []).all(p, true)
, but it's supposed to work on any nullable field.cel-python version: 0.1.5
python version: 3.11.4
The text was updated successfully, but these errors were encountered: