Spaces:
Sleeping
Sleeping
Download trauma/api/data/dto.py from brestok/TraumaBackend: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/brestok/TraumaBackend/resolve/main/trauma/api/data/dto.py
- Command line
-
hf download hf://spaces/brestok/TraumaBackend/trauma/api/data/dto.py
-
curl -L -o dto.py https://huggingface.co/spaces/brestok/TraumaBackend/resolve/main/trauma/api/data/dto.py
280 Bytes
| from pydantic import BaseModel | |
| class AgeGroup(BaseModel): | |
| ageMin: int | |
| ageMax: int | |
| class ContactDetails(BaseModel): | |
| phone: str | None = None | |
| email: str | None = None | |
| website: str | None = None | |
| address: str | None = None | |
| postalCode: str | None = None | |