diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/_meta.json b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/_meta.json index 64acfe34f449..2d02abe272e6 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/_meta.json +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/_meta.json @@ -1,6 +1,6 @@ { - "commit": "0410d404c68289cb1737d06bba92133bb84b515c", + "commit": "405438c72094a0a43fbcba18a56aa71110b78db8", "repository_url": "https://github.com/Azure/azure-rest-api-specs", "typespec_src": "specification/healthdataaiservices/HealthDataAIServices.Management", - "@azure-tools/typespec-python": "0.36.1" + "@azure-tools/typespec-python": "0.36.5" } \ No newline at end of file diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_model_base.py b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_model_base.py index e6a2730f9276..6a6e1f38b17e 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_model_base.py +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_model_base.py @@ -754,7 +754,7 @@ def _get_deserialize_callable_from_annotation( # pylint: disable=too-many-retur except AttributeError: model_name = annotation if module is not None: - annotation = _get_model(module, model_name) + annotation = _get_model(module, model_name) # type: ignore try: if module and _is_model(annotation): diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_serialization.py b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_serialization.py index ce17d1798ce7..e2ad51869908 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_serialization.py +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_serialization.py @@ -1683,17 +1683,21 @@ def _instantiate_model(self, response, attrs, additional_properties=None): subtype = getattr(response, "_subtype_map", {}) try: readonly = [ - k for k, v in response._validation.items() if v.get("readonly") # pylint: disable=protected-access + k + for k, v in response._validation.items() # pylint: disable=protected-access # type: ignore + if v.get("readonly") ] const = [ - k for k, v in response._validation.items() if v.get("constant") # pylint: disable=protected-access + k + for k, v in response._validation.items() # pylint: disable=protected-access # type: ignore + if v.get("constant") ] kwargs = {k: v for k, v in attrs.items() if k not in subtype and k not in readonly + const} response_obj = response(**kwargs) for attr in readonly: setattr(response_obj, attr, attrs.get(attr)) if additional_properties: - response_obj.additional_properties = additional_properties + response_obj.additional_properties = additional_properties # type: ignore return response_obj except TypeError as err: msg = "Unable to deserialize {} into model {}. ".format(kwargs, response) # type: ignore diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_version.py b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_version.py index 0ec13ea52bbf..be71c81bd282 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_version.py +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/azure/mgmt/healthdataaiservices/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py index e34f37b6dc01..f9f3a0c8001f 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/setup.py @@ -22,11 +22,9 @@ # Version extraction inspired from 'requests' with open( - ( - os.path.join(package_folder_path, "version.py") - if os.path.exists(os.path.join(package_folder_path, "version.py")) - else os.path.join(package_folder_path, "_version.py") - ), + os.path.join(package_folder_path, "version.py") + if os.path.exists(os.path.join(package_folder_path, "version.py")) + else os.path.join(package_folder_path, "_version.py"), "r", ) as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) diff --git a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/tsp-location.yaml b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/tsp-location.yaml index 420eb7b1417e..8d0c2110f5fd 100644 --- a/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/tsp-location.yaml +++ b/sdk/healthdataaiservices/azure-mgmt-healthdataaiservices/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/healthdataaiservices/HealthDataAIServices.Management -commit: 0410d404c68289cb1737d06bba92133bb84b515c +commit: 405438c72094a0a43fbcba18a56aa71110b78db8 repo: Azure/azure-rest-api-specs additionalDirectories: