from pydantic import BaseModel | |
class Symptom(BaseModel): | |
fever: bool = False | |
dry_cough: bool = False | |
tiredness: bool = False | |
breathing_problem: bool = False | |
from pydantic import BaseModel | |
class Symptom(BaseModel): | |
fever: bool = False | |
dry_cough: bool = False | |
tiredness: bool = False | |
breathing_problem: bool = False | |