Skip to content
This repository was archived by the owner on May 22, 2026. It is now read-only.

Commit 95dbe14

Browse files
AutoPrFromHttpClientPythonAutoPrFromHttpClientPython
authored andcommitted
Regenerate for typespec-python (2026-04-29 11:39:44)
1 parent a79454f commit 95dbe14

182 files changed

Lines changed: 1456 additions & 0 deletions

File tree

  • packages/typespec-python/tests/generated
    • azure
      • authentication-api-key/authentication/apikey/_utils
      • authentication-http-custom/authentication/http/custom/_utils
      • authentication-noauth-union/authentication/noauth/union/_utils
      • authentication-oauth2/authentication/oauth2/_utils
      • authentication-union/authentication/union/_utils
      • azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils
      • azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils
      • azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils
      • azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils
      • azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils
      • azure-client-generator-core-client-default-value/specs/azure/clientgenerator/core/clientdefaultvalue/_utils
      • azure-client-generator-core-client-initialization-default/specs/azure/clientgenerator/core/clientinitialization/default/_utils
      • azure-client-generator-core-client-initialization-individuallyparent/specs/azure/clientgenerator/core/clientinitialization/individuallyparent/_utils
      • azure-client-generator-core-client-initialization-individually/specs/azure/clientgenerator/core/clientinitialization/individually/_utils
      • azure-client-generator-core-client-location-move-method-parameter-to-client/specs/azure/clientgenerator/core/clientlocation/parameter/_utils
      • azure-client-generator-core-client-location-move-to-existing-sub-client/specs/azure/clientgenerator/core/clientlocation/subclient/_utils
      • azure-client-generator-core-client-location-move-to-new-sub-client/specs/azure/clientgenerator/core/clientlocation/newsubclient/_utils
      • azure-client-generator-core-client-location-move-to-root-client/specs/azure/clientgenerator/core/clientlocation/rootclient/_utils
      • azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils
      • azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils
      • azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/_utils
      • azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils
      • azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils
      • azure-core-basic/specs/azure/core/basic/_utils
      • azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils
      • azure-core-lro-standard/specs/azure/core/lro/standard/_utils
      • azure-core-model/specs/azure/core/model/_utils
      • azure-core-page/specs/azure/core/page/_utils
      • azure-core-scalar/specs/azure/core/scalar/_utils
      • azure-core-traits/specs/azure/core/traits/_utils
      • azure-encode-duration/specs/azure/encode/duration/_utils
      • azure-example-basic/specs/azure/example/basic/_utils
      • azure-payload-pageable/specs/azure/payload/pageable/_utils
      • azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils
      • azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils
      • azure-resource-manager-method-subscription-id/azure/resourcemanager/methodsubscriptionid/_utils
      • azure-resource-manager-multi-service-shared-models/azure/resourcemanager/multiservicesharedmodels/combined/_utils
      • azure-resource-manager-multi-service/azure/resourcemanager/multiservice/combined/_utils
      • azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils
      • azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils
      • azure-resource-manager-resources/azure/resourcemanager/resources/_utils
      • azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils
      • azure-versioning-previewversion/specs/azure/versioning/previewversion/_utils
      • client-namespace/client/clientnamespace
      • client-naming-enum-conflict/client/naming/enumconflict/_utils
      • client-naming/client/naming/main/_utils
      • client-overload/client/overload/_utils
      • client-structure-clientoperationgroup/client/structure/clientoperationgroup/_utils
      • client-structure-default/client/structure/service/_utils
      • client-structure-multiclient/client/structure/multiclient/_utils
      • client-structure-renamedoperation/client/structure/renamedoperation/_utils
      • client-structure-twooperationgroup/client/structure/twooperationgroup/_utils
      • encode-array/encode/array/_utils
      • encode-bytes/encode/bytes/_utils
      • encode-datetime/encode/datetime/_utils
      • encode-duration/encode/duration/_utils
      • encode-numeric/encode/numeric/_utils
      • generation-subdir2/generation/subdir2/_generated/_utils
      • generation-subdir/generation/subdir/_generated/_utils
      • headasbooleanfalse/headasbooleanfalse/_utils
      • headasbooleantrue/headasbooleantrue/_utils
      • parameters-basic/parameters/basic/_utils
      • parameters-body-optionality/parameters/bodyoptionality/_utils
      • parameters-collection-format/parameters/collectionformat/_utils
      • parameters-path/parameters/path/_utils
      • parameters-query/parameters/query/_utils
      • parameters-spread/parameters/spread/_utils
      • payload-content-negotiation/payload/contentnegotiation/_utils
      • payload-json-merge-patch/payload/jsonmergepatch/_utils
      • payload-media-type/payload/mediatype/_utils
      • payload-multipart/payload/multipart/_utils
      • payload-pageable/payload/pageable/_utils
      • payload-xml/payload/xml/_utils
      • resiliency-srv-driven1/resiliency/srv/driven1/_utils
      • resiliency-srv-driven2/resiliency/srv/driven2/_utils
      • response-status-code-range/response/statuscoderange/_utils
      • routes/routes/_utils
      • serialization-encoded-name-json/serialization/encodedname/json/_utils
      • server-endpoint-not-defined/server/endpoint/notdefined/_utils
      • server-path-multiple/server/path/multiple/_utils
      • server-path-single/server/path/single/_utils
      • server-versions-not-versioned/server/versions/notversioned/_utils
      • server-versions-versioned/server/versions/versioned/_utils
      • service-multi-service/service/multiservice/_utils
      • setuppy-authentication-union/setuppy/authentication/union/_utils
      • special-headers-conditional-request/specialheaders/conditionalrequest/_utils
      • special-headers-repeatability/specialheaders/repeatability/_utils
      • special-words/specialwords/_utils
      • specs-documentation/specs/documentation/_utils
      • streaming-jsonl/streaming/jsonl/_utils
      • typetest-array/typetest/array/_utils
      • typetest-dictionary/typetest/dictionary/_utils
      • typetest-discriminatedunion/typetest/discriminatedunion/_utils
      • typetest-enum-extensible/typetest/enum/extensible/_utils
      • typetest-enum-fixed/typetest/enum/fixed/_utils
      • typetest-model-empty/typetest/model/empty/_utils
      • typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils
      • typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils
      • typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils
      • typetest-model-recursive/typetest/model/recursive/_utils
      • typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils
      • typetest-model-usage/typetest/model/usage/_utils
      • typetest-model-visibility/typetest/model/visibility/_utils
      • typetest-property-additionalproperties/typetest/property/additionalproperties/_utils
      • typetest-property-nullable/typetest/property/nullable/_utils
      • typetest-property-optional/typetest/property/optional/_utils
      • typetest-property-valuetypes/typetest/property/valuetypes/_utils
      • typetest-scalar/typetest/scalar/_utils
      • typetest-union/typetest/union/_utils
      • versioning-added/versioning/added/_utils
      • versioning-madeoptional/versioning/madeoptional/_utils
      • versioning-removed/versioning/removed/_utils
      • versioning-renamedfrom/versioning/renamedfrom/_utils
      • versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils
      • versioning-typechangedfrom/versioning/typechangedfrom/_utils
    • unbranded

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/typespec-python/tests/generated/azure/authentication-api-key/authentication/apikey/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/authentication-http-custom/authentication/http/custom/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/authentication-noauth-union/authentication/noauth/union/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/authentication-oauth2/authentication/oauth2/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/authentication-union/authentication/union/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
634634
if v is not None
635635
}
636636
)
637+
# Apply client default values for fields the caller didn't set so that
638+
# defaults are part of `_data` and therefore included during serialization.
639+
for rf in self._attr_to_rest_field.values():
640+
if rf._default is _UNSET:
641+
continue
642+
if rf._rest_name in dict_to_pass:
643+
continue
644+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
637645
super().__init__(dict_to_pass)
638646

639647
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/azure-client-generator-core-api-version-header/client/alternateapiversion/service/header/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/azure-client-generator-core-api-version-path/client/alternateapiversion/service/path/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

packages/typespec-python/tests/generated/azure/azure-client-generator-core-api-version-query/client/alternateapiversion/service/query/_utils/model_base.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None:
620620
if v is not None
621621
}
622622
)
623+
# Apply client default values for fields the caller didn't set so that
624+
# defaults are part of `_data` and therefore included during serialization.
625+
for rf in self._attr_to_rest_field.values():
626+
if rf._default is _UNSET:
627+
continue
628+
if rf._rest_name in dict_to_pass:
629+
continue
630+
dict_to_pass[rf._rest_name] = _create_value(rf, rf._default)
623631
super().__init__(dict_to_pass)
624632

625633
def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]:

0 commit comments

Comments
 (0)