Skip to content

Commit f7ae5b4

Browse files
committed
CUST-5037 Fix attachment id to not be a requirement
1 parent 6eddb61 commit f7ae5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nylas/models/attachments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Attachment:
2222
is_inline: Whether the attachment is inline.
2323
"""
2424

25-
id: str
25+
id: Optional[str] = None
2626
grant_id: Optional[str] = None
2727
filename: Optional[str] = None
2828
content_type: Optional[str] = None

0 commit comments

Comments
 (0)