-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
Description
New v0.4 cel-python release https://github.com/cloud-custodian/cel-python/releases/tag/v0.4 does not work with protovalidate python and cause a TypeError when validating a request .
Steps to Reproduce
pip install cel-python==0.4.0
protovalidate.validate(message=request)
Expected Behavior
No TypeError
Actual Behavior
File ".../lib/python3.12/site-packages/protovalidate/internal/cel_field_presence.py", line 43, in evaluate
e = Evaluator(ast=self.ast, activation=self.new_activation(context), functions=self.functions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Runner.new_activation() takes 1 positional argument but 2 were given
Environment
- Operating System: Linux
- Version: Ubuntu 24.04
- cel-python: 0.4.0
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working