diff --git a/labelbox/schema/asset_attachment.py b/labelbox/schema/asset_attachment.py index 1ab4de83a..2ec65de21 100644 --- a/labelbox/schema/asset_attachment.py +++ b/labelbox/schema/asset_attachment.py @@ -7,10 +7,10 @@ class AssetAttachment(DbObject): - """ Asset attachment provides extra context about an asset while labeling. + """Asset attachment provides extra context about an asset while labeling. Attributes: - attachment_type (str): IMAGE, VIDEO, IMAGE_OVERLAY, HTML, RAW_TEXT, or TEXT_URL. TEXT attachment type is deprecated. + attachment_type (str): IMAGE, VIDEO, IMAGE_OVERLAY, HTML, RAW_TEXT, TEXT_URL, or PDF_URL. TEXT attachment type is deprecated. attachment_value (str): URL to an external file or a string of text """ @@ -32,6 +32,7 @@ def __missing__(cls, value: object): HTML = "HTML" RAW_TEXT = "RAW_TEXT" TEXT_URL = "TEXT_URL" + PDF_URL = "PDF_URL" for topic in AttachmentType: vars()[topic.name] = topic.value