Skip to content

Commit 137c9b6

Browse files
Alexandra CotaAlexandra Cota
authored andcommitted
Fix sample code format
1 parent 8d86278 commit 137c9b6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

labelbox/schema/dataset.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,9 @@ def create_data_rows(self, items):
6666
contain a `DataRow.row_data` key and value.
6767
6868
>>> dataset.create_data_rows([
69-
{DataRow.row_data:"http://my_site.com/photos/img_01.jpg"},
70-
"path/to/file2.jpg"])
69+
>>> {DataRow.row_data:"http://my_site.com/photos/img_01.jpg"},
70+
>>> "path/to/file2.jpg"
71+
>>> ])
7172
7273
Args:
7374
items (iterable of (dict or str)): See above for details.

0 commit comments

Comments
 (0)