Skip to content

Commit be39213

Browse files
* feat: attach
1 parent cc97cb1 commit be39213

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
@@ -42,12 +42,12 @@ def __missing__(cls, value: object):
4242

4343
@classmethod
4444
def validate_attachment_json(cls, attachment_json: Dict[str, str]) -> None:
45-
for required_key in ["type", "value"]:
45+
for required_key in ['type', 'value']:
4646
if required_key not in attachment_json:
4747
raise ValueError(
4848
f"Must provide a `{required_key}` key for each attachment. Found {attachment_json}."
4949
)
50-
cls.validate_attachment_type(attachment_json["type"])
50+
cls.validate_attachment_type(attachment_json['type'])
5151

5252
@classmethod
5353
def validate_attachment_type(cls, attachment_type: str) -> None:

0 commit comments

Comments
 (0)