Skip to content

Commit

Permalink
fix: adjust required attributes for Booking
Browse files Browse the repository at this point in the history
  • Loading branch information
waza-ari committed Dec 9, 2024
1 parent 81ffb19 commit 7b88610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyverein/models/booking.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Booking(BookingBase, EmptyStringsToNone):

class BookingCreate(
BookingBase,
required_mixin(["title", "quantity", "unitPrice"]), # type: ignore
required_mixin(["receiver", "date"]), # type: ignore
):
"""
Pydantic model representing a Booking
Expand Down

0 comments on commit 7b88610

Please sign in to comment.