Skip to content

Commit a8fca14

Browse files
author
Kevin Kim
committed
Remove asserts and fix docstring
1 parent df383e5 commit a8fca14

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

labelbox/schema/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def _create_descriptor_file(self, items, max_attachments_per_data_row=None):
226226
>>> {DataRow.row_data:"/path/to/file1.jpg"},
227227
>>> "path/to/file2.jpg",
228228
>>> {"tileLayerUrl" : "http://", ...}
229-
>>> {"conversation" : "{}", ...}
229+
>>> {"conversationalData" : [...], ...}
230230
>>> ])
231231
232232
For an example showing how to upload tiled data_rows see the following notebook:

tests/integration/conftest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,12 @@ def iframe_url(environ) -> str:
191191
@pytest.fixture
192192
def sample_video() -> str:
193193
path_to_video = 'tests/integration/media/cat.mp4'
194-
assert os.path.exists(path_to_video)
195194
return path_to_video
196195

197196

198197
@pytest.fixture
199198
def sample_bulk_conversation() -> list:
200199
path_to_conversation = 'tests/integration/media/bulk_conversation.json'
201-
assert os.path.exists(path_to_conversation)
202-
203200
with open(path_to_conversation) as json_file:
204201
conversations = json.load(json_file)
205202
return conversations

0 commit comments

Comments
 (0)