Skip to content

Commit

Permalink
revert allowing studio and coach to be None
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeJSmith committed Oct 14, 2024
1 parent 54597ae commit ba2ca97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/otf_api/models/bookings.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class OtfClass(OtfItemBase, OtfClassTimeMixin):
is_cancelled: bool = Field(alias="isCancelled")
program_name: str | None = Field(None, alias="programName")
coach_id: int | None = Field(None, alias="coachId")
studio: Studio | None = None
coach: Coach | None = None
studio: Studio
coach: Coach
location: Location | None = None
virtual_class: bool | None = Field(None, alias="virtualClass")

Expand Down

0 comments on commit ba2ca97

Please sign in to comment.