Skip to content

Commit 72c2d06

Browse files
rllinrllin
authored andcommitted
Update project.py
1 parent 06993eb commit 72c2d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def upload_annotations(
374374
BulkImportRequest
375375
376376
"""
377-
if isinstance(annotations, str):
377+
if isinstance(annotations, str) or isinstance(annotations, Path):
378378

379379
def _is_url_valid(url: str) -> bool:
380380
""" Verifies that the given string is a valid url.

0 commit comments

Comments
 (0)