UPDRS_API / schema /patient_inputs.py
UdasriHasindu
remove name from input fields
ac4efc7
Raw
History Blame Contribute Delete
358 Bytes
from pydantic import BaseModel, Field
from typing import Optional
class BasicInfo(BaseModel):
age: int = Field(..., gt=10, lt=120)
sex: str = Field(..., example="male")
test_time: float
# Note: The /analyze/voice endpoint currently accepts raw multipart form fields
# rather than a JSON body, so these models are used as reference schemas only.