Skip to content

Commit a367be1

Browse files
committed
modify comments
1 parent eeeacc4 commit a367be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/machine-learning/concept-azure-machine-learning-v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This document provides a quick overview of these resources and assets.
4141
To use the Python SDK code examples in this article:
4242

4343
1. Install the [Python SDK v2](https://aka.ms/sdk-v2-install)
44-
2. Create a connection to your Azure Machine Learning subscription. The examples all rely on `ml_client`. All examples also require `ml_client` to include the workpace name, other than the example that shows how to create a workspace.
44+
2. Create a connection to your Azure Machine Learning subscription. The examples all rely on `ml_client`. To create a workspace, the connection does not need a workspace name, since you may not yet have one. All other examples in this article require that the workspace name is included in the connection.
4545

4646
```python
4747
# import required libraries
@@ -56,7 +56,7 @@ To use the Python SDK code examples in this article:
5656
# get a handle to the subscription (use this if you haven't created a workspace yet)
5757
ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group)
5858

59-
# other than when you create a workspace, be sure to include the workspace name in the connection
59+
# all other examples in this article require the connection to include workspace name
6060
workspace_name = "<WORKSPACE_NAME>"
6161
ml_client = ml_client = MLClient(DefaultAzureCredential(), subscription_id, resource_group, workspace_name)
6262
```

0 commit comments

Comments
 (0)