Skip to content

Add Python bindings and wrapper for CEL Policy compilation.#78

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_932704895
Jun 16, 2026
Merged

Add Python bindings and wrapper for CEL Policy compilation.#78
copybara-service[bot] merged 1 commit into
mainfrom
test_932704895

Conversation

@copybara-service

Copy link
Copy Markdown

Add Python bindings and wrapper for CEL Policy compilation.

Add cel_policy.compile Python wrapper and C++ bindings to compile CEL policies into CEL AST expressions (cel.Expression).
Refactor cel C++ sources into a standalone pybind_library to enable clean C++ dependency sharing across extension modules.
Add comprehensive unit tests verifying policy compilation, invalid condition handling, unnesting height limits, and AST evaluation.

@copybara-service copybara-service Bot force-pushed the test_932704895 branch 4 times, most recently from e3413a1 to 11fce30 Compare June 16, 2026 17:14
Add cel_policy.compile Python wrapper and C++ bindings to compile CEL policies into CEL AST expressions (cel.Expression).
Refactor cel C++ sources into a standalone pybind_library to enable clean C++ dependency sharing across extension modules.
Add comprehensive unit tests verifying policy compilation, invalid condition handling, unnesting height limits, and AST evaluation.

PiperOrigin-RevId: 933160646
@copybara-service copybara-service Bot merged commit adc0bfd into main Jun 16, 2026
@copybara-service copybara-service Bot deleted the test_932704895 branch June 16, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant