From 30470b2e315bb38d21afaa2c70718b5eba8bfba4 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Tue, 19 May 2026 16:17:35 +0000 Subject: [PATCH 1/3] Configurations: 'specification/domainregistration/resource-manager/Microsoft.DomainRegistration/DomainRegistration/tspconfig.yaml', and CommitSHA: 'b59aeff7f87d58a631c71fb0533f99ed91d54d71' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6321248 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --- .../CHANGELOG.md | 2 +- .../_metadata.json | 4 +-- .../apiview-properties.json | 3 +- .../azure/mgmt/domainregistration/_client.py | 13 ++++--- .../mgmt/domainregistration/_configuration.py | 6 ++-- .../azure/mgmt/domainregistration/_patch.py | 1 - .../domainregistration/_utils/model_base.py | 26 ++++++++++---- .../_utils/serialization.py | 6 +++- .../mgmt/domainregistration/aio/_client.py | 13 ++++--- .../domainregistration/aio/_configuration.py | 6 ++-- .../mgmt/domainregistration/aio/_patch.py | 1 - .../aio/operations/_operations.py | 35 +++++++++++++++---- .../aio/operations/_patch.py | 1 - .../mgmt/domainregistration/models/_patch.py | 1 - .../operations/_operations.py | 35 +++++++++++++++---- .../domainregistration/operations/_patch.py | 1 - .../pyproject.toml | 3 +- .../tsp-location.yaml | 2 +- 18 files changed, 111 insertions(+), 48 deletions(-) diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/CHANGELOG.md b/sdk/domainregistration/azure-mgmt-domainregistration/CHANGELOG.md index 1261b1e58b7c..cce408d93868 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/CHANGELOG.md +++ b/sdk/domainregistration/azure-mgmt-domainregistration/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 1.0.0b1 (2026-04-28) +## 1.0.0b1 (2026-05-19) ### Other Changes diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/_metadata.json b/sdk/domainregistration/azure-mgmt-domainregistration/_metadata.json index af8bd672771d..edb0c5198203 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/_metadata.json +++ b/sdk/domainregistration/azure-mgmt-domainregistration/_metadata.json @@ -3,8 +3,8 @@ "apiVersions": { "Microsoft.DomainRegistration": "2024-11-01" }, - "commit": "0bbf3007108984bcabfdcee134f1dfc9cb3e678e", + "commit": "b59aeff7f87d58a631c71fb0533f99ed91d54d71", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/domainregistration/resource-manager/Microsoft.DomainRegistration/DomainRegistration", - "emitterVersion": "0.61.3" + "emitterVersion": "0.62.1" } \ No newline at end of file diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/apiview-properties.json b/sdk/domainregistration/azure-mgmt-domainregistration/apiview-properties.json index 81ab08d08733..cfa472ceb391 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/apiview-properties.json +++ b/sdk/domainregistration/azure-mgmt-domainregistration/apiview-properties.json @@ -84,5 +84,6 @@ "azure.mgmt.domainregistration.aio.operations.TopLevelDomainsOperations.list_agreements": "Microsoft.DomainRegistration.TopLevelDomains.listAgreements", "azure.mgmt.domainregistration.operations.DomainRegistrationProviderOperations.list_operations": "Azure.ResourceManager.Legacy.Operations.list", "azure.mgmt.domainregistration.aio.operations.DomainRegistrationProviderOperations.list_operations": "Azure.ResourceManager.Legacy.Operations.list" - } + }, + "CrossLanguageVersion": "5137c6f71ea1" } \ No newline at end of file diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py index b74e5cc0c494..957f089aa0a6 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py @@ -7,8 +7,8 @@ # -------------------------------------------------------------------------- from copy import deepcopy +import sys from typing import Any, Optional, TYPE_CHECKING, cast -from typing_extensions import Self from azure.core.pipeline import policies from azure.core.rest import HttpRequest, HttpResponse @@ -21,6 +21,11 @@ from ._utils.serialization import Deserializer, Serializer from .operations import DomainRegistrationProviderOperations, DomainsOperations, TopLevelDomainsOperations +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self # type: ignore + if TYPE_CHECKING: from azure.core import AzureClouds from azure.core.credentials import TokenCredential @@ -45,9 +50,9 @@ class DomainRegistrationMgmtClient: :keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :paramtype cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2024-11-01". - Default value is "2024-11-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2024-11-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_configuration.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_configuration.py index 63e0566f8871..aab1ad0b9c0c 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_configuration.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_configuration.py @@ -33,9 +33,9 @@ class DomainRegistrationMgmtClientConfiguration: # pylint: disable=too-many-ins :param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :type cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2024-11-01". - Default value is "2024-11-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2024-11-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_patch.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_patch.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/model_base.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/model_base.py index db24930fdca9..4102784f9a85 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/model_base.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/model_base.py @@ -23,14 +23,19 @@ from json import JSONEncoder import xml.etree.ElementTree as ET from collections.abc import MutableMapping -from typing_extensions import Self import isodate from azure.core.exceptions import DeserializationError from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null + from azure.core.rest import HttpResponse +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self + _LOGGER = logging.getLogger(__name__) __all__ = ["SdkJSONEncoder", "Model", "rest_field", "rest_discriminator"] @@ -595,11 +600,7 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None: class_name = self.__class__.__name__ if len(args) > 1: raise TypeError(f"{class_name}.__init__() takes 2 positional arguments but {len(args) + 1} were given") - dict_to_pass = { - rest_field._rest_name: rest_field._default - for rest_field in self._attr_to_rest_field.values() - if rest_field._default is not _UNSET - } + dict_to_pass: dict[str, typing.Any] = {} if args: if isinstance(args[0], ET.Element): dict_to_pass.update(self._init_from_xml(args[0])) @@ -619,6 +620,14 @@ def __init__(self, *args: typing.Any, **kwargs: typing.Any) -> None: if v is not None } ) + # Apply client default values for fields the caller didn't set so that + # defaults are part of `_data` and therefore included during serialization. + for rf in self._attr_to_rest_field.values(): + if rf._default is _UNSET: + continue + if rf._rest_name in dict_to_pass: + continue + dict_to_pass[rf._rest_name] = _create_value(rf, rf._default) super().__init__(dict_to_pass) def _init_from_xml(self, element: ET.Element) -> dict[str, typing.Any]: @@ -1113,7 +1122,10 @@ def __get__(self, obj: Model, type=None): # pylint: disable=redefined-builtin # by this point, type and rest_name will have a value bc we default # them in __new__ of the Model class # Use _data.get() directly to avoid triggering __getitem__ which clears the cache - item = obj._data.get(self._rest_name) + item = obj._data.get(self._rest_name, _UNSET) + if item is _UNSET: + # Field not set by user; return the client default if one exists, otherwise None + return self._default if self._default is not _UNSET else None if item is None: return item if self._is_model: diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/serialization.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/serialization.py index 81ec1de5922b..954bf7ebffa7 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/serialization.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_utils/serialization.py @@ -39,11 +39,15 @@ import xml.etree.ElementTree as ET import isodate # type: ignore -from typing_extensions import Self from azure.core.exceptions import DeserializationError, SerializationError from azure.core.serialization import NULL as CoreNull +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self + _BOM = codecs.BOM_UTF8.decode(encoding="utf-8") JSON = MutableMapping[str, Any] diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py index 3778e7e2459c..c28e7148d05f 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py @@ -7,8 +7,8 @@ # -------------------------------------------------------------------------- from copy import deepcopy +import sys from typing import Any, Awaitable, Optional, TYPE_CHECKING, cast -from typing_extensions import Self from azure.core.pipeline import policies from azure.core.rest import AsyncHttpResponse, HttpRequest @@ -21,6 +21,11 @@ from ._configuration import DomainRegistrationMgmtClientConfiguration from .operations import DomainRegistrationProviderOperations, DomainsOperations, TopLevelDomainsOperations +if sys.version_info >= (3, 11): + from typing import Self +else: + from typing_extensions import Self # type: ignore + if TYPE_CHECKING: from azure.core import AzureClouds from azure.core.credentials_async import AsyncTokenCredential @@ -46,9 +51,9 @@ class DomainRegistrationMgmtClient: :keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :paramtype cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2024-11-01". - Default value is "2024-11-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2024-11-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_configuration.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_configuration.py index 07ed8f6917f5..5c2be56f616d 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_configuration.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_configuration.py @@ -33,9 +33,9 @@ class DomainRegistrationMgmtClientConfiguration: # pylint: disable=too-many-ins :param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :type cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2024-11-01". - Default value is "2024-11-01". Note that overriding this default value may result in - unsupported behavior. + :keyword api_version: The API version to use for this operation. Known values are "2024-11-01" + and None. Default value is None. If not set, the operation's default API version will be used. + Note that overriding this default value may result in unsupported behavior. :paramtype api_version: str """ diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_patch.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_patch.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_operations.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_operations.py index cff15b4ef860..b4e39c0eab49 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_operations.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_operations.py @@ -693,7 +693,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -785,7 +788,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -1576,7 +1582,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -1949,7 +1958,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2130,7 +2142,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2309,7 +2324,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2423,7 +2441,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_patch.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_patch.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/models/_patch.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/models/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/models/_patch.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/models/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_operations.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_operations.py index 333237cbb166..6757d248d745 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_operations.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_operations.py @@ -1223,7 +1223,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -1315,7 +1318,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2108,7 +2114,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2477,7 +2486,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2657,7 +2669,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2832,7 +2847,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( @@ -2946,7 +2964,10 @@ def prepare_request(next_link=None): ) _next_request_params["api-version"] = self._config.api_version _request = HttpRequest( - "GET", urllib.parse.urljoin(next_link, _parsed_next_link.path), params=_next_request_params + "GET", + urllib.parse.urljoin(next_link, _parsed_next_link.path), + headers=_headers, + params=_next_request_params, ) path_format_arguments = { "endpoint": self._serialize.url( diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_patch.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_patch.py index 87676c65a8f0..ea765788358a 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_patch.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/operations/_patch.py @@ -8,7 +8,6 @@ Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize """ - __all__: list[str] = [] # Add all objects you want publicly available to users at this package level diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/pyproject.toml b/sdk/domainregistration/azure-mgmt-domainregistration/pyproject.toml index 7be27255f79b..c390648c8b70 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/pyproject.toml +++ b/sdk/domainregistration/azure-mgmt-domainregistration/pyproject.toml @@ -17,13 +17,12 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ] -requires-python = ">=3.9" +requires-python = ">=3.10" keywords = [ "azure", "azure sdk", diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/tsp-location.yaml b/sdk/domainregistration/azure-mgmt-domainregistration/tsp-location.yaml index 50915d175425..45a5a810b2ac 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/tsp-location.yaml +++ b/sdk/domainregistration/azure-mgmt-domainregistration/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/domainregistration/resource-manager/Microsoft.DomainRegistration/DomainRegistration -commit: 0bbf3007108984bcabfdcee134f1dfc9cb3e678e +commit: b59aeff7f87d58a631c71fb0533f99ed91d54d71 repo: Azure/azure-rest-api-specs additionalDirectories: From 997b74d6c4ba46bbe3c4928c8aed6bf6a3f55603 Mon Sep 17 00:00:00 2001 From: Chandni Patel <88407036+patelchandni@users.noreply.github.com> Date: Tue, 19 May 2026 12:32:53 -0500 Subject: [PATCH 2/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../azure/mgmt/domainregistration/_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py index 957f089aa0a6..bb2c3d130b57 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/_client.py @@ -50,9 +50,9 @@ class DomainRegistrationMgmtClient: :keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :paramtype cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2024-11-01" - and None. Default value is None. If not set, the operation's default API version will be used. - Note that overriding this default value may result in unsupported behavior. + :keyword api_version: The API version to use for this operation. Known value is "2024-11-01". + Default value is "2024-11-01". Note that overriding this default value may result in + unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. From 0d5a79daf3ef1cd4f8d547e3675f6465321210f3 Mon Sep 17 00:00:00 2001 From: Chandni Patel <88407036+patelchandni@users.noreply.github.com> Date: Tue, 19 May 2026 12:33:44 -0500 Subject: [PATCH 3/3] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .../azure/mgmt/domainregistration/aio/_client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py index c28e7148d05f..18ae7b03c719 100644 --- a/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py +++ b/sdk/domainregistration/azure-mgmt-domainregistration/azure/mgmt/domainregistration/aio/_client.py @@ -51,9 +51,9 @@ class DomainRegistrationMgmtClient: :keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is None. :paramtype cloud_setting: ~azure.core.AzureClouds - :keyword api_version: The API version to use for this operation. Known values are "2024-11-01" - and None. Default value is None. If not set, the operation's default API version will be used. - Note that overriding this default value may result in unsupported behavior. + :keyword api_version: The API version to use for this operation. Known value is "2024-11-01". + Default value is "2024-11-01". Note that overriding this default value may result in + unsupported behavior. :paramtype api_version: str :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present.