set effectiveDate type to Any
This commit is contained in:
parent
c3135e1549
commit
0b0181a711
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
from typing import Optional, List
|
from typing import Optional, List, Any
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
class Applicant(BaseModel):
|
class Applicant(BaseModel):
|
||||||
|
|
@ -44,12 +44,12 @@ class PHQ(BaseModel):
|
||||||
treatment: bool
|
treatment: bool
|
||||||
invalid: bool
|
invalid: bool
|
||||||
pregnancy: bool
|
pregnancy: bool
|
||||||
effectiveDate: date
|
|
||||||
disclaimer: bool
|
disclaimer: bool
|
||||||
signature: str
|
signature: str
|
||||||
medications: List[Medication]
|
medications: List[Medication]
|
||||||
issues: List[Issue]
|
issues: List[Issue]
|
||||||
conditions: List[Condition]
|
conditions: List[Condition]
|
||||||
|
effectiveDate: Any = None
|
||||||
|
|
||||||
class Address(BaseModel):
|
class Address(BaseModel):
|
||||||
address1: Optional[str] = Field("", description="Address line 1")
|
address1: Optional[str] = Field("", description="Address line 1")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue