File tree Expand file tree Collapse file tree 2 files changed +9
-12
lines changed
sdk/ml/azure-ai-ml/azure/ai/ml/entities Expand file tree Collapse file tree 2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 8383from ._deployment .batch_job import BatchJob
8484from ._deployment .code_configuration import CodeConfiguration
8585from ._deployment .container_resource_settings import ResourceSettings
86+ from ._deployment .data_asset import DataAsset
8687from ._deployment .data_collector import DataCollector
8788from ._deployment .deployment_collection import DeploymentCollection
8889from ._deployment .deployment_settings import BatchRetrySettings , OnlineRequestSettings , ProbeSettings
449450 "ModelPerformanceRegressionThresholds" ,
450451 "DataCollector" ,
451452 "IntellectualProperty" ,
453+ "DataAsset" ,
452454 "DeploymentCollection" ,
453455 "RequestLogging" ,
454456 "NoneCredentialConfiguration" ,
Original file line number Diff line number Diff line change 22# Copyright (c) Microsoft Corporation. All rights reserved.
33# ---------------------------------------------------------
44
5- from typing import Any , Dict , Optional
5+ from typing import Dict , Optional
66
77from azure .ai .ml ._schema ._deployment .online .data_asset_schema import DataAssetSchema
88from azure .ai .ml ._utils ._experimental import experimental
1313class DataAsset :
1414 """Data Asset entity
1515
16- :param data_id: Arm id of registered data asset
17- :param data_id: str
18- :param name: Name of data asset
19- :type name: str
20- :param path: Path where the data asset is stored.
21- :type path: str
22- :param version: Version of data asset.
23- :type version" int
24-
16+ :keyword Optional[str] data_id: Arm id of registered data asset
17+ :keyword Optional[str] name: Name of data asset
18+ :keyword Optional[str] path: Path where the data asset is stored.
19+ :keyword Optional[int] version: Version of data asset.
2520 """
2621
2722 def __init__ (
2823 self ,
24+ * ,
2925 data_id : Optional [str ] = None ,
3026 name : Optional [str ] = None ,
3127 path : Optional [str ] = None ,
3228 version : Optional [int ] = None ,
33- ** kwargs : Any ,
34- ): # pylint: disable=unused-argument
29+ ):
3530 self .data_id = data_id
3631 self .name = name
3732 self .path = path
You can’t perform that action at this time.
0 commit comments