Skip to content

python: Update codegen templates to support struct enums #1766

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

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

svix-jplatte
Copy link
Member

Tested with the ingest source API that this generates the expected code. Once we commit that, we should also have a (de)serialization test. I'm fairly certain I did the pydantic stuff right, but who knows.

We should also update component_type_summary since struct enums are separate types that we should export from the models module, but that can be a separate PR.

@svix-jplatte svix-jplatte requested a review from a team as a code owner February 28, 2025 13:33
@svix-jplatte svix-jplatte merged commit da9d8f5 into main Feb 28, 2025
10 checks passed
@svix-jplatte svix-jplatte deleted the jplatte/py-struct-enum branch February 28, 2025 14:36
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.

2 participants