cel-python icon indicating copy to clipboard operation
cel-python copied to clipboard

Question usage of .contains()

Open tester22 opened this issue 4 months ago • 4 comments

Hi,

After the upgrade to version 0.4 the syntax field.contains("value") doesn't work when evaluating a json input. Is this by design or do I need to change anything on my implementation?

The error I am getting is: Rule evaluation error: ('no such overload', <class 'AttributeError'>, ("'str' object has no attribute 'contains'",))

tester22 avatar Aug 02 '25 10:08 tester22

+1

x0day avatar Aug 07 '25 06:08 x0day

The same question

hakucodes avatar Aug 16 '25 21:08 hakucodes

This is a feature request, really.

slott56 avatar Aug 30 '25 19:08 slott56

@slott56 was this fixed by #126 / would it be valuable to cut a v0.4.1 with this fix?

stefanvanburen avatar Oct 06 '25 14:10 stefanvanburen

Good idea!

slott56 avatar Nov 05 '25 13:11 slott56