Skip to content

Commit fc6fb8b

Browse files
author
Matt Sokoloff
committed
clean up
1 parent 344f18c commit fc6fb8b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

labelbox/schema/data_row.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,15 @@ def __init__(self, *args, **kwargs):
7171
self.attachments.supports_sorting = False
7272

7373
def create_attachment(self, attachment_type, attachment_value):
74-
""" Attaches asset metadata to a DataRow.
74+
""" Adds an AssetAttachment to a DataRow.
75+
Labelers can view these attachments while labeling.
7576
7677
>>> datarow.create_attachment("TEXT", "This is a text message")
7778
7879
Args:
79-
meta_type (str): Asset attachment type, must be one of:
80+
attachment_type (str): Asset attachment type, must be one of:
8081
VIDEO, IMAGE, TEXT, IMAGE_OVERLAY (AssetAttachment.AttachmentType)
81-
meta_value (str): Asset attachment value.
82+
attachment_value (str): Asset attachment value.
8283
Returns:
8384
`AssetAttachment` DB object.
8485
Raises:

0 commit comments

Comments
 (0)