Skip to content

Commit 24a1f3f

Browse files
authored
Missing named arguments
"reference_name=ds_name" for DatasetReference; "name=act_name"for CopyActivity Were correct in smaller snippets, but not for the Full Script block
1 parent 6f5d49b commit 24a1f3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,9 @@ def main():
374374
act_name = 'copyBlobtoBlob'
375375
blob_source = BlobSource()
376376
blob_sink = BlobSink()
377-
dsin_ref = DatasetReference(ds_name)
378-
dsOut_ref = DatasetReference(dsOut_name)
379-
copy_activity = CopyActivity(act_name, inputs=[dsin_ref], outputs=[
377+
dsin_ref = DatasetReference(reference_name=ds_name)
378+
dsOut_ref = DatasetReference(reference_name=dsOut_name)
379+
copy_activity = CopyActivity(name=act_name, inputs=[dsin_ref], outputs=[
380380
dsOut_ref], source=blob_source, sink=blob_sink)
381381

382382
# Create a pipeline with the copy activity

0 commit comments

Comments
 (0)