updating to new pydantic requirements for values

This commit is contained in:
brmnjsh
2023-09-03 14:59:53 +00:00
parent 7ece9acf8c
commit 7e57211564
4 changed files with 12 additions and 12 deletions

View File

@ -4,7 +4,7 @@ from typing import Optional
class Target(BaseModel):
theta: float
value: float
result: Optional[float]
result: Optional[float] = None
drift: float = 0.0
@classmethod