Skip to content

Commit 957225d

Browse files
committed
rename TEXT_FILE to TEXT_URL
1 parent db2a622 commit 957225d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/schema/asset_attachment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class AssetAttachment(DbObject):
99
""" Asset attachment provides extra context about an asset while labeling.
1010
1111
Attributes:
12-
attachment_type (str): IMAGE, VIDEO, IMAGE_OVERLAY, HTML, RAW_TEXT, or TEXT_FILE. TEXT attachment type is deprecated.
12+
attachment_type (str): IMAGE, VIDEO, IMAGE_OVERLAY, HTML, RAW_TEXT, or TEXT_URL. TEXT attachment type is deprecated.
1313
attachment_value (str): URL to an external file or a string of text
1414
"""
1515

@@ -20,7 +20,7 @@ class AttachmentType(Enum):
2020
IMAGE_OVERLAY = "IMAGE_OVERLAY"
2121
HTML = "HTML"
2222
RAW_TEXT = "RAW_TEXT"
23-
TEXT_FILE = "TEXT_FILE"
23+
TEXT_URL = "TEXT_URL"
2424

2525
for topic in AttachmentType:
2626
vars()[topic.name] = topic.value

0 commit comments

Comments
 (0)