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

Custom functions in cel-python

Open vermontGuy opened this issue 1 year ago • 1 comments

Can custom functions be added to cel-python?

vermontGuy avatar Mar 08 '24 17:03 vermontGuy

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 avatar May 21 '24 19:05 slott56