cel-python
cel-python copied to clipboard
Pure Python implementation of the Common Expression Language
**Current behavior** running CEL `queue == null` on `{'queue': None}` raises ``` CELEvalError(*("found no matching overload for 'relation_eq' applied to '(, )'", , ("no such overload: ListType == ",)), tree='queue...
It looks like the implementation of CEL `matches`, just calls Python `re.search` but Python `re` is not the same as [RE2](https://github.com/google/re2/wiki/Syntax) as an example `\z` in RE2 should match the...
Bumps google.golang.org/protobuf from 1.25.0 to 1.33.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
cel-go has support for the strings and math function extensions - is the extension supported? And if so how can it be set up in the environment [ext/strings.go](https://github.com/google/cel-go/blob/master/ext/strings.go)
Can custom functions be added to cel-python?
flake8 was failing
The requires.io one no longer works, and it looks like CI has moved from Travis to GitHub Actions.
[The CEL language definition](https://github.com/google/cel-spec/blob/master/doc/langdef.md#logical-operators) suggests: > To get traditional left-to-right short-circuiting evaluation of logical operators, as in C or other languages (also called "McCarthy Evaluation"), the expression e1 && e2...
Got an evaluation error ("found no matching overload for 'relation_eq' applied to '(, )'", , ("no such overload: StringType('temp') != None ",)) all_positive = "record.fullname != null" breaks = celpy.json_to_cel({'record':...
`false ? true.exists_one(i, false) : false` raises `*BoolType* object is not iterable`. Expected: The first `false` should skip the first branch of the condition and execute the "else" branch (the...