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
{{ message }}
Repository navigation
Implement string.contains() per CEL spec section 6.2.5 #180
The CEL specification (section 6.2.5) defines string.contains(string) -> bool as a standard string function. Currently, calling .contains() on a StringType raises CELEvalError: no such overload in cel-python.
This looks like a great idea. Thanks for pursuing it.
Note that there may be related acceptance tests that are marked with @wip. (I haven't looked, I'm only assuming there might be some test marked @wip.)
There are two parts to changing the marking on test.
Present. Update the features/*/*.feature file to remove the @wip tag from tests related to contains(). This demonstrates the fix works.
Future. Update the tools/tags.toml file to remove the test name so that all future extracts of test cases will not add a @wip tag by surprise.
changed the title [-][Feature] Implement string.contains() per CEL spec section 6.2.5[/-][+]Implement string.contains() per CEL spec section 6.2.5[/+]on Jun 1, 2026
Activity
slott56 commentedon Jun 1, 2026
This looks like a great idea. Thanks for pursuing it.
Note that there may be related acceptance tests that are marked with
@wip. (I haven't looked, I'm only assuming there might be some test marked@wip.)There are two parts to changing the marking on test.
features/*/*.featurefile to remove the@wiptag from tests related tocontains(). This demonstrates the fix works.tools/tags.tomlfile to remove the test name so that all future extracts of test cases will not add a@wiptag by surprise.[-][Feature] Implement string.contains() per CEL spec section 6.2.5[/-][+]Implement string.contains() per CEL spec section 6.2.5[/+]