Upgrade Python SDK model generation to datamodel-code-generator 0.64.0 (#56272)

## What changed

- Regenerate protocol models with `datamodel-code-generator==0.64.0`, targeting Python 3.10.
- Preserve discriminator field titles without introducing extra `RootModel` wrappers for literal values or inline unions.
- Keep nullable project and section IDs optional for compatibility with older SDKs, and remove redundant required-nullable field patches.

## Testing

Extend schema annotation coverage to assert that `ReasoningSummary.model_validate("none").root` remains the string `"none"`.

GitOrigin-RevId: 386d07d7e2e368b07d4602b49be6e81a887685fe
This commit is contained in:
Adam Perry @ OpenAI
2026-10-22 21:40:58 +00:00
committed by copyberry
parent cb2581dae8
commit 0eb98b4617
5 changed files with 99 additions and 338 deletions
File diff suppressed because it is too large Load Diff