Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom functions in cel-python #55

Open
vermontGuy opened this issue Mar 8, 2024 · 1 comment
Open

Custom functions in cel-python #55

vermontGuy opened this issue Mar 8, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@vermontGuy
Copy link

Can custom functions be added to cel-python?

@slott56
Copy link
Collaborator

slott56 commented May 21, 2024

Yes.

Seen https://github.com/cloud-custodian/cel-python/blob/main/src/celpy/__init__.py which has a functions = {}. This is the mapping from a CEL-visible name to a Python function.

@slott56 slott56 added question Further information is requested documentation Improvements or additions to documentation labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants