Skip to content

Commit 97078e0

Browse files
Kevin KimKevin Kim
authored andcommitted
Add global_key to data_row
1 parent 710169e commit 97078e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

labelbox/schema/data_row.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class DataRow(DbObject, Updateable, BulkDeletable):
1717
1818
Attributes:
1919
external_id (str): User-generated file name or identifier
20+
global_key (str): User-generated globally unique identifier
2021
row_data (str): Paths to local files are uploaded to Labelbox's server.
2122
Otherwise, it's treated as an external URL.
2223
updated_at (datetime)
@@ -33,6 +34,7 @@ class DataRow(DbObject, Updateable, BulkDeletable):
3334
attachments (Relationship) `ToMany` relationship with AssetAttachment
3435
"""
3536
external_id = Field.String("external_id")
37+
global_key = Field.String("global_key")
3638
row_data = Field.String("row_data")
3739
updated_at = Field.DateTime("updated_at")
3840
created_at = Field.DateTime("created_at")

0 commit comments

Comments
 (0)