From 0b0181a711927b509ae8fbf933013457f14098b5 Mon Sep 17 00:00:00 2001 From: ipu Date: Mon, 13 Oct 2025 17:57:17 +0300 Subject: [PATCH] set effectiveDate type to Any --- src/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models.py b/src/models.py index 3f56a35..97383d8 100644 --- a/src/models.py +++ b/src/models.py @@ -1,5 +1,5 @@ from pydantic import BaseModel, Field -from typing import Optional, List +from typing import Optional, List, Any from datetime import date class Applicant(BaseModel): @@ -44,12 +44,12 @@ class PHQ(BaseModel): treatment: bool invalid: bool pregnancy: bool - effectiveDate: date disclaimer: bool signature: str medications: List[Medication] issues: List[Issue] conditions: List[Condition] + effectiveDate: Any = None class Address(BaseModel): address1: Optional[str] = Field("", description="Address line 1")