Skip to content

Commit 33c480f

Browse files
authored
[PTDT-3037] Add AUDIO AttachmentType (#1956)
2 parents 42d4456 + b9f04cb commit 33c480f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libs/labelbox/src/labelbox/schema/asset_attachment.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77

88
class AttachmentType(str, Enum):
9+
AUDIO = "AUDIO"
910
VIDEO = "VIDEO"
1011
IMAGE = "IMAGE"
1112
IMAGE_OVERLAY = "IMAGE_OVERLAY"
@@ -20,7 +21,7 @@ class AssetAttachment(DbObject):
2021
"""Asset attachment provides extra context about an asset while labeling.
2122
2223
Attributes:
23-
attachment_type (str): IMAGE, VIDEO, IMAGE_OVERLAY, HTML, RAW_TEXT, TEXT_URL, or PDF_URL.
24+
attachment_type (str): AUDIO, VIDEO, IMAGE, IMAGE_OVERLAY, HTML, RAW_TEXT, TEXT_URL, or PDF_URL.
2425
attachment_value (str): URL to an external file or a string of text
2526
attachment_name (str): The name of the attachment
2627
"""

0 commit comments

Comments
 (0)