Skip to content

Commit

Permalink
Relaxing necessity of missing response variables
Browse files Browse the repository at this point in the history
  • Loading branch information
owen9825 committed Nov 11, 2023
1 parent f2517f4 commit 8cfd4e9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyzoom/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ZoomMeetingShort(MyZoomBase):
host_id: str
topic: str
type: int
start_time: str
start_time: Optional[str] = None
duration: int
timezone: str
created_at: str
Expand All @@ -92,11 +92,12 @@ class ZoomMeeting(ZoomMeetingShort):


class ZoomMeetingShortList(MyZoomBase):
page_count: int
page_number: int
page_count: Optional[int] = None
page_number: Optional[int] = None
page_size: int
total_records: int
meetings: List[ZoomMeetingShort]
next_page_token: Optional[str] = None

def filter_by_topic(self, text: str) -> List[ZoomMeetingShort]:
return [m for m in self.meetings if text.lower() in m.topic.lower()]
Expand Down

0 comments on commit 8cfd4e9

Please sign in to comment.