Skip to content

Commit 9884fdf

Browse files
authored
Update quickstart-create-data-factory-python.md
while running the code, it throws error saying, type attribute is missing.
1 parent 69b06ee commit 9884fdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/data-factory/quickstart-create-data-factory-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ You define a dataset that represents the source data in Azure Blob. This Blob da
196196
```python
197197
# Create an Azure blob dataset (input)
198198
ds_name = 'ds_in'
199-
ds_ls = LinkedServiceReference(reference_name=ls_name)
199+
ds_ls = LinkedServiceReference(type="LinkedServiceReference",reference_name=ls_name)
200200
blob_path = '<container>/<folder path>'
201201
blob_filename = '<file name>'
202202
ds_azure_blob = DatasetResource(properties=AzureBlobDataset(
@@ -370,7 +370,7 @@ def main():
370370

371371
# Create an Azure blob dataset (input)
372372
ds_name = 'ds_in'
373-
ds_ls = LinkedServiceReference(reference_name=ls_name)
373+
ds_ls = LinkedServiceReference(type="LinkedServiceReference",reference_name=ls_name)
374374
blob_path = '<container>/<folder path>'
375375
blob_filename = '<file name>'
376376
ds_azure_blob = DatasetResource(properties=AzureBlobDataset(

0 commit comments

Comments
 (0)