Skip to content

Build: Bump datamodel-code-generator from 0.63.0 to 0.64.1#16993

Open
drexler-sky wants to merge 1 commit into
apache:mainfrom
drexler-sky:bump-datamodel-code-generator-0.64.1
Open

Build: Bump datamodel-code-generator from 0.63.0 to 0.64.1#16993
drexler-sky wants to merge 1 commit into
apache:mainfrom
drexler-sky:bump-datamodel-code-generator-0.64.1

Conversation

@drexler-sky

Copy link
Copy Markdown
Contributor

Regenerate open-api/rest-catalog-open-api.py with datamodel-code-generator 0.64.1. As of 0.64.0, optional primitive const fields no longer emit the const value as an injected default, so the generated discriminator fields (action/type) are now Literal[...] | None = None. Committing the regenerated output keeps make generate + git diff --exit-code green.

Supersedes #16985.

Regenerate open-api/rest-catalog-open-api.py with datamodel-code-generator
0.64.1. As of 0.64.0, optional primitive const fields no longer emit the
const value as an injected default, so the generated discriminator fields
(action/type) are now `Literal[...] | None = None`. Committing the
regenerated output keeps `make generate` + `git diff --exit-code` green.

Supersedes apache#16985.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant