Skip to content

Commit 33c4696

Browse files
Oleg TrygubOleg Trygub
authored andcommitted
Added globalkey support to bulk import
1 parent 221f56b commit 33c4696

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

labelbox/schema/dataset.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,9 @@ def convert_item(item):
360360
if "externalId" in item:
361361
external_id = item.pop("externalId")
362362
item["external_id"] = external_id
363+
if "globalKey" in item:
364+
global_key = item.pop("globalKey")
365+
item["globalKey"] = global_key
363366
validate_conversational_data(messages)
364367
one_conversation = \
365368
{

0 commit comments

Comments
 (0)