Commit 029b9fb
Support x-keep-typed-in-additional-properties in Python model generator
When a schema sets `x-keep-typed-in-additional-properties: true`, emit a
`_keep_typed_in_additional_properties = True` class attribute. In Python all
fields are already stored in `_data_store` and accessible via `model["key"]`
regardless of type; this marker makes the intent explicit for tooling.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 06f047a commit 029b9fb
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
77 | 80 | | |
78 | 81 | | |
79 | 82 | | |
| |||
0 commit comments