Skip to content

Commit

Permalink
Adde = None to optional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
licht1stein committed Mar 11, 2024
1 parent b884e21 commit 99f53eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pyzoom"
version = "1.0.7"
version = "1.0.8"
description = "Python wrapper for Zoom Video API"
authors = ["MB <[email protected]>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions pyzoom/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ZoomMeetingSettings(MyZoomBase):
watermark: bool
use_pmi: bool
approval_type: Literal[0, 1, 2]
registration_type: Optional[Literal[1, 2, 3]]
registration_type: Optional[Literal[1, 2, 3]] = None
audio: Literal["voip", "telephony", "both"]
auto_recording: Literal["local", "cloud", "none"]
enforce_login: bool
Expand Down Expand Up @@ -153,7 +153,7 @@ class MeetingParticipantList(MyZoomBase):
page_count: int
page_size: int
total_records: int
participants: Optional[List[MeetingParticipant]]
participants: Optional[List[MeetingParticipant]] = None

def __len__(self):
return len(self.participants)
Expand Down

0 comments on commit 99f53eb

Please sign in to comment.