attributes not attribute, remove optional from solution model

This commit is contained in:
Josh Burman 2021-09-14 14:28:09 -04:00
parent b1eab48f6f
commit 157107c73f
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ from models.attribute import Attribute
class Item(BaseModel): class Item(BaseModel):
id: int id: int
attribute: List[Attribute] attributes: List[Attribute]

View File

@ -1,5 +1,5 @@
from pydantic import BaseModel from pydantic import BaseModel
from typing import List, Optional from typing import List
from models.form import Form from models.form import Form