Spaces:
Running on T4
Running on T4
Download backend/app/modules/catalog/schemas.py from modventures/baseball-engine: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/backend/app/modules/catalog/schemas.py
- Command line
-
hf download hf://spaces/modventures/baseball-engine/backend/app/modules/catalog/schemas.py
-
curl -L -o schemas.py https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/backend/app/modules/catalog/schemas.py
465 Bytes
| from app.common.schemas import ResponseModel | |
| class GroupOut(ResponseModel): | |
| group: str | |
| display_name: str | |
| class MetricOut(ResponseModel): | |
| metric_id: str | |
| display_name: str | |
| group: str | |
| unit: str | |
| what_it_means: str | |
| class DrillOut(ResponseModel): | |
| drill_id: str | |
| name: str | |
| how: str | |
| cue: str | |
| reps: str | |
| class CatalogOut(ResponseModel): | |
| groups: list[GroupOut] | |
| metrics: list[MetricOut] | |
| drills: list[DrillOut] | |