From 766bc188e4241205e1a48ce12f962fdc8ead1113 Mon Sep 17 00:00:00 2001 From: Javi Carnero Date: Fri, 31 May 2024 13:26:08 +0200 Subject: [PATCH 1/2] Export InputTypes from constants InputTypes should exported as with AssetTypes, so there is no need to use literals types when using literal Inputs. --- sdk/ml/azure-ai-ml/azure/ai/ml/constants/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/ml/azure-ai-ml/azure/ai/ml/constants/__init__.py b/sdk/ml/azure-ai-ml/azure/ai/ml/constants/__init__.py index 9bf8193613f7..fa8445ce5f89 100644 --- a/sdk/ml/azure-ai-ml/azure/ai/ml/constants/__init__.py +++ b/sdk/ml/azure-ai-ml/azure/ai/ml/constants/__init__.py @@ -8,7 +8,7 @@ from azure.ai.ml._restclient.v2023_10_01.models import ListViewType from ._assets import IPProtectionLevel -from ._common import AssetTypes, InputOutputModes, ModelType, Scope, TimeZone, WorkspaceKind +from ._common import AssetTypes, InputTypes, InputOutputModes, ModelType, Scope, TimeZone, WorkspaceKind from ._component import ParallelTaskType from ._deployment import BatchDeploymentOutputAction from ._job import ( @@ -40,6 +40,7 @@ "JobType", "ParallelTaskType", "AssetTypes", + "InputTypes", "InputOutputModes", "DistributionType", "TimeZone", From 0d460b8e9d28c890f22da32dc4e5095b0be30a01 Mon Sep 17 00:00:00 2001 From: Javi Carnero Date: Fri, 31 May 2024 13:32:31 +0200 Subject: [PATCH 2/2] Added InputTypes modification to CHANGELOG.md --- sdk/ml/azure-ai-ml/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/ml/azure-ai-ml/CHANGELOG.md b/sdk/ml/azure-ai-ml/CHANGELOG.md index 1410faf5399f..4581541cbb67 100644 --- a/sdk/ml/azure-ai-ml/CHANGELOG.md +++ b/sdk/ml/azure-ai-ml/CHANGELOG.md @@ -5,6 +5,7 @@ ### Features Added ### Bugs Fixed +- InputTypes exported in constants module ### Breaking Changes