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
+3 -3
View File
@@ -8,9 +8,9 @@ from lib.irt.item_information_function import ItemInformationFunction
class Item(BaseModel):
id: int
position: Optional[int]
passage_id: Optional[int]
workflow_state: Optional[str]
position: Optional[int] = None
passage_id: Optional[int] = None
workflow_state: Optional[str] = None
attributes: List[Attribute]
b_param: float = 0.00