Skip to content

Commit e2a62ee

Browse files
committed
[CCV-214] Render IAM DA text assets in the attachments panel
* Adding "HTML" as a valid attachment type
1 parent 0d1e619 commit e2a62ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labelbox/schema/asset_attachment.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class AssetAttachment(DbObject):
88
""" Asset attachment provides extra context about an asset while labeling.
99
1010
Attributes:
11-
attachment_type (str): IMAGE, VIDEO, TEXT, or IMAGE_OVERLAY
11+
attachment_type (str): IMAGE, VIDEO, TEXT, IMAGE_OVERLAY, or HTML
1212
attachment_value (str): URL to an external file or a string of text
1313
"""
1414

@@ -17,6 +17,7 @@ class AttachmentType(Enum):
1717
IMAGE = "IMAGE"
1818
TEXT = "TEXT"
1919
IMAGE_OVERLAY = "IMAGE_OVERLAY"
20+
HTML = "HTML"
2021

2122
for topic in AttachmentType:
2223
vars()[topic.name] = topic.value

0 commit comments

Comments
 (0)