make value optional, as it may not always be provided
This commit is contained in:
parent
4577370689
commit
338a6c2ac3
@ -2,6 +2,6 @@ from pydantic import BaseModel
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
class Attribute(BaseModel):
|
class Attribute(BaseModel):
|
||||||
value: str
|
value: Optional[str]
|
||||||
type: Optional[str]
|
type: Optional[str]
|
||||||
id: str
|
id: str
|
||||||
|
Loading…
x
Reference in New Issue
Block a user