Skip to content

feat(codegen): generate open enums in Python SDK types#207

Merged
matoous merged 1 commit intomainfrom
md/open-enums
Feb 19, 2026
Merged

feat(codegen): generate open enums in Python SDK types#207
matoous merged 1 commit intomainfrom
md/open-enums

Conversation

@matoous
Copy link
Contributor

@matoous matoous commented Feb 19, 2026

Render OpenAPI enums as Union[Literal[...,], base type] so SDK models stay forward-compatible with newly introduced enum values while preserving known literals for editor hints.

Render OpenAPI enums as Union[Literal[...,], base type] so SDK models stay forward-compatible with newly introduced enum values while preserving known literals for editor hints.
@matoous matoous merged commit bce9e7c into main Feb 19, 2026
6 checks passed
@matoous matoous deleted the md/open-enums branch February 19, 2026 13:32
This was referenced Feb 19, 2026
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