1515from dataclasses import dataclass , field
1616from typing import Any , Literal
1717
18- from .unset_type import UNSET , UnsetType
18+ from .omit_type import OMIT , OmitType
1919
2020Model = Any
2121
@@ -77,11 +77,11 @@ class DatapointMetadataUpdate:
7777 A request to update the metadata of a datapoint.
7878 """
7979
80- name : str | None | UnsetType = UNSET
80+ name : str | None | OmitType = OMIT
8181 """
8282 Datapoint name.
8383
84- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
84+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
8585 be set to the provided value.
8686 """
8787
@@ -871,11 +871,11 @@ class UpdateDatapointMetadataRequest:
871871 """
872872 The ID of the datapoint to update. Required.
873873 """
874- name : str | None | UnsetType = UNSET
874+ name : str | None | OmitType = OMIT
875875 """
876876 Datapoint name.
877877
878- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
878+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
879879 be set to the provided value.
880880 """
881881
@@ -1348,30 +1348,30 @@ class UpdateDynamicToolParamsRequest:
13481348 new tools or exclude removed tools.
13491349 If omitted, it will be left unchanged. If specified as a value, it will be set to the provided value.
13501350 """
1351- allowed_tools : list [str ] | None | UnsetType = UNSET
1351+ allowed_tools : list [str ] | None | OmitType = OMIT
13521352 """
13531353 A subset of static tools configured for the function that the inference is explicitly allowed to use.
13541354
1355- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (we allow function-configured tools
1355+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (we allow function-configured tools
13561356 plus additional tools provided at inference time). If specified as a value, it will be set to the provided value.
13571357 """
1358- parallel_tool_calls : bool | None | UnsetType = UNSET
1358+ parallel_tool_calls : bool | None | OmitType = OMIT
13591359 """
13601360 Whether to use parallel tool calls in the inference.
13611361
1362- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
1362+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
13631363 parallel tool calls). If specified as a value, it will be set to the provided value.
13641364 """
13651365 provider_tools : list [ProviderTool ] | None = None
13661366 """
13671367 Provider-specific tool configurations
13681368 If omitted, it will be left unchanged. If specified as a value, it will be set to the provided value.
13691369 """
1370- tool_choice : ToolChoice | None | UnsetType = UNSET
1370+ tool_choice : ToolChoice | None | OmitType = OMIT
13711371 """
13721372 User-specified tool choice strategy.
13731373
1374- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
1374+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
13751375 tool choice). If specified as a value, it will be set to the provided value.
13761376 """
13771377
@@ -1575,11 +1575,11 @@ class UpdateChatDatapointRequestInternal:
15751575 new tools or exclude removed tools.
15761576 If omitted, it will be left unchanged. If specified as a value, it will be set to the provided value.
15771577 """
1578- allowed_tools : list [str ] | None | UnsetType = UNSET
1578+ allowed_tools : list [str ] | None | OmitType = OMIT
15791579 """
15801580 A subset of static tools configured for the function that the inference is explicitly allowed to use.
15811581
1582- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (we allow function-configured tools
1582+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (we allow function-configured tools
15831583 plus additional tools provided at inference time). If specified as a value, it will be set to the provided value.
15841584 """
15851585 input : Input | None = None
@@ -1591,25 +1591,25 @@ class UpdateChatDatapointRequestInternal:
15911591 DEPRECATED (#4725 / 2026.2+): Metadata fields to update.
15921592 Moving forward, don't nest these fields.
15931593 """
1594- name : str | None | UnsetType = UNSET
1594+ name : str | None | OmitType = OMIT
15951595 """
15961596 Datapoint name.
15971597
1598- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
1598+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
15991599 be set to the provided value.
16001600 """
1601- output : list [ContentBlockChatOutput ] | None | UnsetType = UNSET
1601+ output : list [ContentBlockChatOutput ] | None | OmitType = OMIT
16021602 """
16031603 Chat datapoint output.
16041604
1605- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared.
1605+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared.
16061606 Otherwise, it will overwrite the existing output (and can be an empty list).
16071607 """
1608- parallel_tool_calls : bool | None | UnsetType = UNSET
1608+ parallel_tool_calls : bool | None | OmitType = OMIT
16091609 """
16101610 Whether to use parallel tool calls in the inference.
16111611
1612- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
1612+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
16131613 parallel tool calls). If specified as a value, it will be set to the provided value.
16141614 """
16151615 provider_tools : list [ProviderTool ] | None = None
@@ -1621,14 +1621,14 @@ class UpdateChatDatapointRequestInternal:
16211621 """
16221622 Datapoint tags.
16231623
1624- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared.
1624+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared.
16251625 Otherwise, it will overwrite the existing tags.
16261626 """
1627- tool_choice : ToolChoice | None | UnsetType = UNSET
1627+ tool_choice : ToolChoice | None | OmitType = OMIT
16281628 """
16291629 User-specified tool choice strategy.
16301630
1631- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
1631+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (we will use function-configured
16321632 tool choice). If specified as a value, it will be set to the provided value.
16331633 """
16341634 tool_params : UpdateDynamicToolParamsRequest | None = None
@@ -1666,17 +1666,17 @@ class UpdateJsonDatapointRequestInternal:
16661666 DEPRECATED (#4725 / 2026.2+): Metadata fields to update.
16671667 Moving forward, don't nest these fields.
16681668 """
1669- name : str | None | UnsetType = UNSET
1669+ name : str | None | OmitType = OMIT
16701670 """
16711671 Datapoint name.
16721672
1673- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
1673+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared. If specified as a value, it will
16741674 be set to the provided value.
16751675 """
1676- output : JsonDatapointOutputUpdate | None | UnsetType = UNSET
1676+ output : JsonDatapointOutputUpdate | None | OmitType = OMIT
16771677 """
16781678 JSON datapoint output.
1679- If omitted (which uses the default value `UNSET `), it will be left unchanged. If set to `None`, it will be cleared (represents edge case where
1679+ If omitted (which uses the default value `OMIT `), it will be left unchanged. If set to `None`, it will be cleared (represents edge case where
16801680 inference succeeded but model didn't output relevant content blocks). Otherwise, it will overwrite the existing output.
16811681 """
16821682 output_schema : Any | None = None
0 commit comments