Skip to content

Commit f75c2d0

Browse files
committed
Small changes that Amar B. requested.
1 parent 0b9bc3e commit f75c2d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/machine-learning/how-to-import-data-assets.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ Next, run the following command in the CLI:
7777
# [Python SDK](#tab/Python-SDK)
7878
```python
7979

80-
from azure.ai.ml.entities import FileSystem,Database, DataImport
80+
from azure.ai.ml.entities import DataImport
81+
from azure.ai.ml.data_transfer import Database
8182
from azure.ai.ml import MLClient
8283

8384
# Supported connections include:
@@ -137,7 +138,8 @@ Next, execute this command in the CLI:
137138
# [Python SDK](#tab/Python-SDK)
138139
```python
139140

140-
from azure.ai.ml.entities import FileSystem,Database, DataImport
141+
from azure.ai.ml.entities import DataImport
142+
from azure.ai.ml.data_transfer import FileSystem
141143
from azure.ai.ml import MLClient
142144

143145
# Supported connections include:
@@ -174,7 +176,7 @@ The next example returns the status of the submitted data import activity. The c
174176
# [Python SDK](#tab/Python-SDK)
175177

176178
```python
177-
from azure.ai.ml.entities import FileSystem,Database, DataImport
179+
from azure.ai.ml.entities import DataImport
178180
from azure.ai.ml import MLClient
179181

180182
ml_client = MLClient.from_config()

0 commit comments

Comments
 (0)