Download cbh/api/availability/models.py from brestok/spark: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/spaces/brestok/spark/resolve/main/cbh/api/availability/models.py
- Command line
-
hf download hf://spaces/brestok/spark/cbh/api/availability/models.py
-
curl -L -o models.py https://huggingface.co/spaces/brestok/spark/resolve/main/cbh/api/availability/models.py
306 Bytes
| from cbh.api.account.models import AccountShorten | |
| from cbh.api.availability.dto import DaySchedule | |
| from cbh.core.database import MongoBaseModel | |
| class AvailabilityModel(MongoBaseModel): | |
| """ | |
| Availability model. | |
| """ | |
| coach: AccountShorten | |
| weeklySchedule: list[DaySchedule] | None = None | |