Skip to content

Commit

Permalink
Export InputTypes from constants (#35848)
Browse files Browse the repository at this point in the history
* Export InputTypes from constants

InputTypes should exported as with AssetTypes, so there is no need to use literals types when using literal Inputs.

* Added InputTypes modification to CHANGELOG.md
  • Loading branch information
emepetres authored Jun 11, 2024
1 parent e08b3b0 commit cf49b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions sdk/ml/azure-ai-ml/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Features Added

### Bugs Fixed
- InputTypes exported in constants module

### Breaking Changes

Expand Down
3 changes: 2 additions & 1 deletion sdk/ml/azure-ai-ml/azure/ai/ml/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -40,6 +40,7 @@
"JobType",
"ParallelTaskType",
"AssetTypes",
"InputTypes",
"InputOutputModes",
"DistributionType",
"TimeZone",
Expand Down

0 comments on commit cf49b4e

Please sign in to comment.