Skip to content

Commit 763e911

Browse files
authored
Update events.py (#358)
Make visibility optional to include iCloud events
1 parent 873363f commit 763e911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nylas/models/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,12 @@ class Event:
316316
calendar_id: str
317317
busy: bool
318318
participants: List[Participant]
319-
visibility: Visibility
320319
when: When = field(metadata=config(decoder=_decode_when))
321320
conferencing: Optional[Conferencing] = field(
322321
default=None, metadata=config(decoder=_decode_conferencing)
323322
)
324323
object: str = "event"
324+
visibility: Optional[Visibility] = None
325325
read_only: Optional[bool] = None
326326
description: Optional[str] = None
327327
location: Optional[str] = None

0 commit comments

Comments
 (0)