Skip to content

Fix PyCelType handling and serialization of opaque types. - #130

Closed
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1018319101
Closed

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1018319101

Conversation

@copybara-service

Copy link
Copy Markdown

Fix PyCelType handling and serialization of opaque types.

Use cel::Kind::kOpaque instead of cel::Kind::kType in
PyCelType::AbstractType, check type names when comparing opaque type
assignability, support kOpaque in ForCelValue and ToCelType, and
use the raw type name in ToTypeInfo so parameterized abstract types do
not duplicate <...> in exported YAML configurations.

@copybara-service
copybara-service Bot force-pushed the test_1018319101 branch 3 times, most recently from 4fdbb26 to 72324d8 Compare November 11, 2026 05:03
Use `cel::Kind::kOpaque` instead of `cel::Kind::kType` in
`PyCelType::AbstractType`, check type names when comparing opaque type
assignability, support `kOpaque` in `ForCelValue` and `ToCelType`, and
use the raw type name in `ToTypeInfo` so parameterized abstract types do
not duplicate `<...>` in exported YAML configurations.

PiperOrigin-RevId: 1018319101
@copybara-service copybara-service Bot closed this Nov 20, 2026
@copybara-service
copybara-service Bot deleted the test_1018319101 branch November 20, 2026 01:10
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