@@ -8,7 +8,7 @@ ms.author: roastala
8
8
ms.service : machine-learning
9
9
ms.subservice : core
10
10
ms.reviewer : larryfr, mattmcinnes
11
- ms.date : 04/25/2023
11
+ ms.date : 04/08/2024
12
12
ms.topic : how-to
13
13
ms.custom : devx-track-python, devx-track-azurecli, py-fresh-zinc
14
14
---
@@ -69,17 +69,17 @@ Create a workspace configuration file in one of the following methods:
69
69
[ !INCLUDE [ sdk v2] ( includes/machine-learning-sdk-v2.md )]
70
70
71
71
``` python
72
- # import required libraries
73
- from azure.ai.ml import MLClient
74
- from azure.identity import DefaultAzureCredential
75
-
76
- # Enter details of your Azure Machine Learning workspace
77
- subscription_id = ' <SUBSCRIPTION_ID>'
78
- resource_group = ' <RESOURCE_GROUP>'
79
- workspace = ' <AZUREML_WORKSPACE_NAME>'
80
-
81
- # connect to the workspace
82
- ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group, workspace)
72
+ # import required libraries
73
+ from azure.ai.ml import MLClient
74
+ from azure.identity import DefaultAzureCredential
75
+
76
+ # Enter details of your Azure Machine Learning workspace
77
+ subscription_id = ' <SUBSCRIPTION_ID>'
78
+ resource_group = ' <RESOURCE_GROUP>'
79
+ workspace = ' <AZUREML_WORKSPACE_NAME>'
80
+
81
+ # connect to the workspace
82
+ ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group, workspace)
83
83
```
84
84
85
85
# # Local computer or remote VM environment
0 commit comments