ABle to send the booking request to several courts at the same time
This commit is contained in:
parent
fcc08f03f1
commit
51af600d28
11 changed files with 288 additions and 99 deletions
|
@ -1,3 +1,5 @@
|
|||
from typing import List
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
from pydantic_extra_types.pendulum_dt import DateTime
|
||||
|
||||
|
@ -9,6 +11,6 @@ class User(BaseModel):
|
|||
|
||||
|
||||
class BookingFilter(BaseModel):
|
||||
court_id: int = Field()
|
||||
court_ids: List[int] = Field()
|
||||
sport_id: int = Field()
|
||||
date: DateTime = Field()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue