azureml-core 1.57.0.post1__py3-none-any.whl → 1.57.0.post2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azureml/_project/azureml_sdk_scope.txt +2 -12
- azureml/_restclient/jasmine_client.py +6 -0
- azureml/_restclient/models/__init__.py +4 -0
- azureml/_restclient/models/docker_build_context.py +37 -0
- azureml/_restclient/models/docker_section.py +7 -6
- azureml/_restclient/models/rest_client_enums.py +6 -0
- {azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/METADATA +1 -1
- {azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/RECORD +12 -11
- {azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/WHEEL +1 -1
- {azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/LICENSE.txt +0 -0
- {azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/entry_points.txt +0 -0
- {azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/top_level.txt +0 -0
@@ -230,6 +230,9 @@ class JasmineClient(ExperimentClient):
|
|
230
230
|
# This is a workaround to convert EnvironmentDefinition => azureml.core.Environment
|
231
231
|
client_models = {"EnvironmentDefinition": EnvironmentDefinition}
|
232
232
|
serializer = Serializer(client_models)
|
233
|
+
docker = automl_curated_env_output.environment.docker
|
234
|
+
if docker and docker.build_context:
|
235
|
+
docker.build_context.location_type = self._init_lower_case(docker.build_context.location_type.value)
|
233
236
|
environment_json = serializer.body(automl_curated_env_output.environment, "EnvironmentDefinition")
|
234
237
|
environment = Environment._deserialize_and_add_to_object(environment_json)
|
235
238
|
|
@@ -253,3 +256,6 @@ class JasmineClient(ExperimentClient):
|
|
253
256
|
input)
|
254
257
|
|
255
258
|
return validation_output
|
259
|
+
|
260
|
+
def _init_lower_case(self, s: str):
|
261
|
+
return s[0].lower() + s[1:]
|
@@ -98,6 +98,7 @@ from .meta_api_version_response import MetaApiVersionResponse
|
|
98
98
|
from .auto_ml_curated_env_input import AutoMLCuratedEnvInput
|
99
99
|
from .python_section import PythonSection
|
100
100
|
from .docker_image_platform import DockerImagePlatform
|
101
|
+
from .docker_build_context import DockerBuildContext
|
101
102
|
from .registry_identity import RegistryIdentity
|
102
103
|
from .container_registry import ContainerRegistry
|
103
104
|
from .docker_section import DockerSection
|
@@ -481,6 +482,7 @@ from .rest_client_enums import (
|
|
481
482
|
ServiceDataAccessAuthIdentity,
|
482
483
|
SqlCredentialTypes,
|
483
484
|
HdfsCredentialType,
|
485
|
+
BuildContextLocationType,
|
484
486
|
Framework,
|
485
487
|
Communicator,
|
486
488
|
DataStoreMode,
|
@@ -631,6 +633,7 @@ __all__ = [
|
|
631
633
|
'AutoMLCuratedEnvInput',
|
632
634
|
'PythonSection',
|
633
635
|
'DockerImagePlatform',
|
636
|
+
'DockerBuildContext',
|
634
637
|
'RegistryIdentity',
|
635
638
|
'ContainerRegistry',
|
636
639
|
'DockerSection',
|
@@ -1013,6 +1016,7 @@ __all__ = [
|
|
1013
1016
|
'ServiceDataAccessAuthIdentity',
|
1014
1017
|
'SqlCredentialTypes',
|
1015
1018
|
'HdfsCredentialType',
|
1019
|
+
'BuildContextLocationType',
|
1016
1020
|
'Framework',
|
1017
1021
|
'Communicator',
|
1018
1022
|
'DataStoreMode',
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# --------------------------------------------------------------------------
|
3
|
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
4
|
+
# Licensed under the MIT License. See License.txt in the project root for
|
5
|
+
# license information.
|
6
|
+
#
|
7
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 2.3.33.0
|
8
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
9
|
+
# regenerated.
|
10
|
+
# --------------------------------------------------------------------------
|
11
|
+
|
12
|
+
from msrest.serialization import Model
|
13
|
+
|
14
|
+
|
15
|
+
class DockerBuildContext(Model):
|
16
|
+
"""DockerBuildContext.
|
17
|
+
|
18
|
+
:param location_type: Possible values include: 'Git', 'StorageAccount'
|
19
|
+
:type location_type: str or ~_restclient.models.BuildContextLocationType
|
20
|
+
:param location: Location of Docker build context.
|
21
|
+
:type location: str
|
22
|
+
:param dockerfile_path: Relative path of the Dockerfile to use during
|
23
|
+
image build. Default value: "Dockerfile" .
|
24
|
+
:type dockerfile_path: str
|
25
|
+
"""
|
26
|
+
|
27
|
+
_attribute_map = {
|
28
|
+
'location_type': {'key': 'locationType', 'type': 'BuildContextLocationType'},
|
29
|
+
'location': {'key': 'location', 'type': 'str'},
|
30
|
+
'dockerfile_path': {'key': 'dockerfilePath', 'type': 'str'},
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, location_type=None, location=None, dockerfile_path="Dockerfile"):
|
34
|
+
super(DockerBuildContext, self).__init__()
|
35
|
+
self.location_type = location_type
|
36
|
+
self.location = location
|
37
|
+
self.dockerfile_path = dockerfile_path
|
@@ -24,27 +24,28 @@ class DockerSection(Model):
|
|
24
24
|
:param base_dockerfile: Base Dockerfile used for Docker-based runs.
|
25
25
|
Mutually exclusive with BaseImage and DockerContext.
|
26
26
|
:type base_dockerfile: str
|
27
|
-
:param
|
28
|
-
|
29
|
-
:type docker_context: str
|
27
|
+
:param build_context:
|
28
|
+
:type build_context: ~_restclient.models.DockerBuildContext
|
30
29
|
:param base_image_registry: Image registry that contains the base image.
|
31
30
|
:type base_image_registry: ~_restclient.models.ContainerRegistry
|
31
|
+
:param enabled:
|
32
|
+
:type enabled: bool
|
32
33
|
"""
|
33
34
|
|
34
35
|
_attribute_map = {
|
35
36
|
'base_image': {'key': 'baseImage', 'type': 'str'},
|
36
37
|
'platform': {'key': 'platform', 'type': 'DockerImagePlatform'},
|
37
38
|
'base_dockerfile': {'key': 'baseDockerfile', 'type': 'str'},
|
38
|
-
'
|
39
|
+
'build_context': {'key': 'buildContext', 'type': 'DockerBuildContext'},
|
39
40
|
'base_image_registry': {'key': 'baseImageRegistry', 'type': 'ContainerRegistry'},
|
40
41
|
'enabled': {'key': 'enabled', 'type': 'bool'},
|
41
42
|
}
|
42
43
|
|
43
|
-
def __init__(self, base_image=None, platform=None, base_dockerfile=None,
|
44
|
+
def __init__(self, base_image=None, platform=None, base_dockerfile=None, build_context=None, base_image_registry=None, enabled=None):
|
44
45
|
super(DockerSection, self).__init__()
|
45
46
|
self.base_image = base_image
|
46
47
|
self.platform = platform
|
47
48
|
self.base_dockerfile = base_dockerfile
|
48
|
-
self.
|
49
|
+
self.build_context = build_context
|
49
50
|
self.base_image_registry = base_image_registry
|
50
51
|
self.enabled = enabled
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: azureml-core
|
3
|
-
Version: 1.57.0.
|
3
|
+
Version: 1.57.0.post2
|
4
4
|
Summary: Azure Machine Learning core packages, modules, and classes
|
5
5
|
Home-page: https://docs.microsoft.com/python/api/overview/azure/ml/?view=azure-ml-py
|
6
6
|
Author: Microsoft Corp
|
@@ -248,7 +248,7 @@ azureml/_project/__init__.py,sha256=fXk56x7HrgsyVMGN5yuE08JN9x0JszBhsBNBX5NOneY,
|
|
248
248
|
azureml/_project/_commands.py,sha256=gUNeO7UoxFDplcm5dT68t2pAL_rTKRY8_0oZIS0O_ec,39864
|
249
249
|
azureml/_project/_compute_target_commands.py,sha256=nsL0-XPsxLaANF_ZZ73pFDqgTxEe7l2c2c7B7qouPfk,12504
|
250
250
|
azureml/_project/azureml_base_images.json,sha256=g5Ue7rNC_nFYeHmb-KmnHj0kJz1SwcDUicKY4ltv8mo,601
|
251
|
-
azureml/_project/azureml_sdk_scope.txt,sha256=
|
251
|
+
azureml/_project/azureml_sdk_scope.txt,sha256=LqVLXL5LzukyN3OK_CGFgQfcQFoW5Lu31D2DtZsFIYg,38
|
252
252
|
azureml/_project/file_utilities.py,sha256=nrWTVp1QB_6jhZQ2fJOXDx49UXafRRmd5VzAs9ceBNo,2597
|
253
253
|
azureml/_project/ignore_file.py,sha256=LV_-DZ0qGV95a6UhMZcSeqV_bl0DwKnaHh7iO6Dwu_M,3219
|
254
254
|
azureml/_project/index_location.txt,sha256=y0QQZ0ezioStHt6IkKGm3Z5FCjS7oBAtBH4QkxQOHsQ,32
|
@@ -269,7 +269,7 @@ azureml/_restclient/constants.py,sha256=cG5T8xtrgPBPwckSmDLo-cXlxWx502xNzRdweNeh
|
|
269
269
|
azureml/_restclient/environment_client.py,sha256=zKHAs2PhYW1xuau7aqyQzBVDPSnSJKBvkFvlnzmRCgE,10593
|
270
270
|
azureml/_restclient/exceptions.py,sha256=LszbL91f9p3P5QdbVdu8BZDa-AusvGtuvMw9iGsVjxw,3105
|
271
271
|
azureml/_restclient/experiment_client.py,sha256=tTrw3uTBNttHEeENO5_oLkNd9wrB_-60tRERyDubrpA,19719
|
272
|
-
azureml/_restclient/jasmine_client.py,sha256=
|
272
|
+
azureml/_restclient/jasmine_client.py,sha256=0WUoX7YTAQzSjpFylBnPa8gFc0QiX3zCgEXBjyTBIDg,10589
|
273
273
|
azureml/_restclient/metrics_client.py,sha256=HmS7CWDDlQGfB823SUMuoUxAdvoyhlkdNy_o6zUSXCc,29055
|
274
274
|
azureml/_restclient/models_client.py,sha256=hc7o6zmjIPSLd8oLdoiVKPeWlszBT3js_LE3jlJWVEc,5884
|
275
275
|
azureml/_restclient/polling.py,sha256=RgfUkBcZwb-GRmwdVnvh2H4fuEOz_29Yo930vO0V5sA,741
|
@@ -296,7 +296,7 @@ azureml/_restclient/contracts/__init__.py,sha256=DG3ntUPILtNSJGUT5gJdEu_1v8g3_gT
|
|
296
296
|
azureml/_restclient/contracts/events.py,sha256=q30GtxbyNdnZ7ewTg-tDK3U4zIiEqY-KMnxToVMXL8c,4186
|
297
297
|
azureml/_restclient/contracts/query_params.py,sha256=0v2a6WijXXLR4OjKl0NxCxbxQFA05oT7tQP9U_bljYs,889
|
298
298
|
azureml/_restclient/contracts/utils.py,sha256=zp2l1yHowEFmRewZfBEqvyQMM0lAAGqp0FLsat0i5Ck,1010
|
299
|
-
azureml/_restclient/models/__init__.py,sha256=
|
299
|
+
azureml/_restclient/models/__init__.py,sha256=OGjuu3pRlwAbRjqJEnqhWQSLa77iDcC52TSpi1YW9I4,45277
|
300
300
|
azureml/_restclient/models/aci_service_create_request.py,sha256=Xd_vnjLuN2_RnNmL-2mCCtt3yLSyQ0L7XYk_zBb4mT4,6503
|
301
301
|
azureml/_restclient/models/aci_service_create_request_container_resource_requirements.py,sha256=KN460jC4NwcYkEWc2IT6KlAFSPqHejRSxOuh9fzoEIQ,1326
|
302
302
|
azureml/_restclient/models/aci_service_create_request_data_collection.py,sha256=TbEbHdGub0qhHw8O1oRSX2yzkAYIE-PYJ393e7nD74Y,1109
|
@@ -494,13 +494,14 @@ azureml/_restclient/models/diagnose_response_result_value.py,sha256=Kv7kWfa0gb5T
|
|
494
494
|
azureml/_restclient/models/diagnose_result.py,sha256=nqufMnrGX_ZA8DrllWIhL9w_3y118rUMr2TsR9ol8Qo,1512
|
495
495
|
azureml/_restclient/models/diagnose_workspace_parameters.py,sha256=CZ4BwAwtKYLUA2wvmxEW9zNng-3qGiNzIydoSZpEUQo,945
|
496
496
|
azureml/_restclient/models/dir_tree_node.py,sha256=mOfUOYhJT8WlfwvPDSbDiTrHKU7N1WMISrA2OOh4MdQ,1761
|
497
|
+
azureml/_restclient/models/docker_build_context.py,sha256=KgE9Lc5IgarHqP3GH_ONNkjJk5vVLOmaQCenCYCYzuM,1518
|
497
498
|
azureml/_restclient/models/docker_configuration.py,sha256=QFzbK6c7dzv2XFbiC8CM5D6Hasw-VVVK0KLDydGdRzA,1790
|
498
499
|
azureml/_restclient/models/docker_image.py,sha256=m8i9lCsYhm_DtUOlwIaXMCCgjQ_ZGizv8GsArQOut2E,4577
|
499
500
|
azureml/_restclient/models/docker_image_platform.py,sha256=x60-4uWVItBRcfpcNwtOCwcZIHSYkJhAFBQeUq3d1ic,1017
|
500
501
|
azureml/_restclient/models/docker_image_request.py,sha256=TsdRkDCxQrWXSUs6lkKdSaZlu-Y1MbS7UDO4BZGdnvI,3266
|
501
502
|
azureml/_restclient/models/docker_image_response.py,sha256=lmuB2TK4XR-4M-p7d2nbW9-aHnBXwGHmCe6g-ZqKOos,6240
|
502
503
|
azureml/_restclient/models/docker_image_response_target_runtime.py,sha256=iRjChCb4ykBscCtv96Uq6NOGyChkL_ejj3Osl0qBmA0,1672
|
503
|
-
azureml/_restclient/models/docker_section.py,sha256=
|
504
|
+
azureml/_restclient/models/docker_section.py,sha256=HIFhOSpymfLNw3aP-q3QXmj5a60owB510B6KQzoDtrQ,2267
|
504
505
|
azureml/_restclient/models/dynamic_whitelist_settings.py,sha256=FdeTYG8PZG4qkjY6huGCv6QOV9kshpzCrI7zv-pX1KQ,2542
|
505
506
|
azureml/_restclient/models/dynamic_whitelist_settings_dto.py,sha256=IzgaIAuDbkH-ES6YMZG8DrWkUa8UTbq13vx3xI0oxQk,2447
|
506
507
|
azureml/_restclient/models/encryption_properties.py,sha256=SyXgxConCcFWOLX5dRK9NXa_WlBwGy2FIsyYymbiACw,1304
|
@@ -722,7 +723,7 @@ azureml/_restclient/models/resource_name.py,sha256=4mUiiv2PuXVtP4WTuPj98Ao5Y0QK4
|
|
722
723
|
azureml/_restclient/models/resource_quota.py,sha256=_gRJMAPEvz1zYNASDV4eWIJVD_VhcrOGRcZl162Dj48,1907
|
723
724
|
azureml/_restclient/models/resource_sku_location_info.py,sha256=2ud80_A7g6QSx7DalLdt2124qYXrRzUDs9nv-Dkz_us,1620
|
724
725
|
azureml/_restclient/models/resource_sku_zone_details.py,sha256=9SyeNU7mqbjXLvxlQrA8Dw5IYaZEnWYN9YVSjQhiFkY,1470
|
725
|
-
azureml/_restclient/models/rest_client_enums.py,sha256=
|
726
|
+
azureml/_restclient/models/rest_client_enums.py,sha256=UpOXcicV6jHpagby3L_gfMI28ICqSMg-zuW3Ml28314,10659
|
726
727
|
azureml/_restclient/models/restriction.py,sha256=VUM11ogA26v1jAMQxws5H7BkxKLrKeZIX7TDZfH0AlU,1768
|
727
728
|
azureml/_restclient/models/retrieve_full_fidelity_metric_request_dto.py,sha256=kS2sg3wtGnizzW--2j6y89oWreC_1K-D0eiUnrnbGZQ,1509
|
728
729
|
azureml/_restclient/models/rgit_hub_package.py,sha256=7iw-4KE55r4KVlF29uOei6LB2L04ehepzd5fUDlaHUw,1171
|
@@ -1322,9 +1323,9 @@ azureml/exceptions/__init__.py,sha256=wAB_C_TNpL8FK6GXeygupED6mG5IfSrLx_moV7NHIp
|
|
1322
1323
|
azureml/exceptions/_azureml_exception.py,sha256=XxvMTrADJiTIHSn8DHj2fmyDUhYyBuVUqxYR3cuibz4,18989
|
1323
1324
|
azureml/history/__init__.py,sha256=8U_yD6fMdk8Ok3Z-GO_ibddTgQEB-aY6BTT8t9aYGZw,274
|
1324
1325
|
azureml/history/_tracking.py,sha256=IcZoVbHsOA01eQ3Ealnxe1YbNNnQi4LA5ccINB1cTrU,18541
|
1325
|
-
azureml_core-1.57.0.
|
1326
|
-
azureml_core-1.57.0.
|
1327
|
-
azureml_core-1.57.0.
|
1328
|
-
azureml_core-1.57.0.
|
1329
|
-
azureml_core-1.57.0.
|
1330
|
-
azureml_core-1.57.0.
|
1326
|
+
azureml_core-1.57.0.post2.dist-info/LICENSE.txt,sha256=GBoIyZ-6vJ4xjRc8U3wTw4EfkuaEdVTm_gbr1Nm8uDI,859
|
1327
|
+
azureml_core-1.57.0.post2.dist-info/METADATA,sha256=JPPLBJzp8U6rCNCVq-kWlVOZEeXrPtUvxizGt9b7_9A,3119
|
1328
|
+
azureml_core-1.57.0.post2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
1329
|
+
azureml_core-1.57.0.post2.dist-info/entry_points.txt,sha256=EKn4UdjSeleaw9lk1z12dZ7YK6tX4Ig6FYqaC2Uk8b8,154
|
1330
|
+
azureml_core-1.57.0.post2.dist-info/top_level.txt,sha256=ZOeEa0TAXo6i5wOjwBoqfIGEuxOcKuscGgNSpizqREY,8
|
1331
|
+
azureml_core-1.57.0.post2.dist-info/RECORD,,
|
File without changes
|
{azureml_core-1.57.0.post1.dist-info → azureml_core-1.57.0.post2.dist-info}/entry_points.txt
RENAMED
File without changes
|
File without changes
|