Skip to content

Set x-keep-typed-in-additional-properties on UsageSummary schemas#3693

Merged
api-clients-generation-pipeline[bot] merged 3 commits into
masterfrom
datadog-api-spec/generated/5941
Jun 16, 2026
Merged

Set x-keep-typed-in-additional-properties on UsageSummary schemas#3693
api-clients-generation-pipeline[bot] merged 3 commits into
masterfrom
datadog-api-spec/generated/5941

Conversation

@api-clients-generation-pipeline

Copy link
Copy Markdown
Contributor

@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/5941 branch 2 times, most recently from fb728f1 to 4310c66 Compare June 16, 2026 16:46
charlie-zhang109 and others added 2 commits June 16, 2026 19:14
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>
…mantic marker

In Python, typed fields are already reachable via bracket notation through
_data_store, so no runtime behaviour change is required. The marker makes the
flag visible for introspection and aligns semantics with other language SDKs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/5941 branch from 4310c66 to 9e76030 Compare June 16, 2026 17:25
@api-clients-generation-pipeline api-clients-generation-pipeline Bot force-pushed the datadog-api-spec/generated/5941 branch from 9e76030 to fad51bf Compare June 16, 2026 17:54
@api-clients-generation-pipeline api-clients-generation-pipeline Bot merged commit 94cca5a into master Jun 16, 2026
13 checks passed
@api-clients-generation-pipeline api-clients-generation-pipeline Bot deleted the datadog-api-spec/generated/5941 branch June 16, 2026 18:23
github-actions Bot pushed a commit that referenced this pull request Jun 16, 2026
)

* 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>

* docs: annotate _keep_typed_in_additional_properties as a cross-SDK semantic marker

In Python, typed fields are already reachable via bracket notation through
_data_store, so no runtime behaviour change is required. The marker makes the
flag visible for introspection and aligns semantics with other language SDKs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Regenerate client from commit 3677df7 of spec repo

---------

Co-authored-by: Charlie Zhang <charlie.zhang@datadoghq.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com> 94cca5a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants