Skip to content

Commit 18c3131

Browse files
author
Matt Sokoloff
committed
add global key and external id to create data row
1 parent d297ed1 commit 18c3131

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

labelbox/schema/dataset.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ def convert_field_keys(items):
115115
$metadata_fields: [DataRowCustomMetadataUpsertInput!],
116116
$attachments: [DataRowAttachmentInput!],
117117
$media_type : MediaType,
118+
$external_id : String,
119+
$global_key : String,
118120
$dataset: ID!
119121
){
120122
createDataRow(
@@ -123,6 +125,8 @@ def convert_field_keys(items):
123125
rowData: $row_data
124126
mediaType: $media_type
125127
metadataFields: $metadata_fields
128+
externalId: $external_id
129+
globalKey: $global_key
126130
attachments: $attachments
127131
dataset: {connect: {id: $dataset}}
128132
}

0 commit comments

Comments
 (0)