File tree 2 files changed +9
-12
lines changed
sdk/ml/azure-ai-ml/azure/ai/ml/entities
2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 83
83
from ._deployment .batch_job import BatchJob
84
84
from ._deployment .code_configuration import CodeConfiguration
85
85
from ._deployment .container_resource_settings import ResourceSettings
86
+ from ._deployment .data_asset import DataAsset
86
87
from ._deployment .data_collector import DataCollector
87
88
from ._deployment .deployment_collection import DeploymentCollection
88
89
from ._deployment .deployment_settings import BatchRetrySettings , OnlineRequestSettings , ProbeSettings
449
450
"ModelPerformanceRegressionThresholds" ,
450
451
"DataCollector" ,
451
452
"IntellectualProperty" ,
453
+ "DataAsset" ,
452
454
"DeploymentCollection" ,
453
455
"RequestLogging" ,
454
456
"NoneCredentialConfiguration" ,
Original file line number Diff line number Diff line change 2
2
# Copyright (c) Microsoft Corporation. All rights reserved.
3
3
# ---------------------------------------------------------
4
4
5
- from typing import Any , Dict , Optional
5
+ from typing import Dict , Optional
6
6
7
7
from azure .ai .ml ._schema ._deployment .online .data_asset_schema import DataAssetSchema
8
8
from azure .ai .ml ._utils ._experimental import experimental
13
13
class DataAsset :
14
14
"""Data Asset entity
15
15
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.
25
20
"""
26
21
27
22
def __init__ (
28
23
self ,
24
+ * ,
29
25
data_id : Optional [str ] = None ,
30
26
name : Optional [str ] = None ,
31
27
path : Optional [str ] = None ,
32
28
version : Optional [int ] = None ,
33
- ** kwargs : Any ,
34
- ): # pylint: disable=unused-argument
29
+ ):
35
30
self .data_id = data_id
36
31
self .name = name
37
32
self .path = path
You can’t perform that action at this time.
0 commit comments