Skip to content

Commit e17fbc8

Browse files
authored
Updates dataset tutorial to fix typo (#1186)
During validation we noticed this typo, so we should fix it.
1 parent 1fbc248 commit e17fbc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/python/tutorial_scripts/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
) # Replace with the ID of the file you want to add
3535
# 2. Add a File with its ID and version
3636
my_new_dataset.add_item(
37-
File(id="syn51790028", version_label=1)
37+
File(id="syn51790028", version_number=1)
3838
) # Replace with the ID of the file you want to add
3939
# 3. Add a Folder. In this case, all child files of the folder are added to the dataset recursively.
4040
my_new_dataset.add_item(

0 commit comments

Comments
 (0)