8 lines
172 B
Python
8 lines
172 B
Python
from pydantic import BaseModel
|
|
from typing import Optional, Union
|
|
|
|
class Attribute(BaseModel):
|
|
value: Optional[Union[str,int,list]]
|
|
type: Optional[str]
|
|
id: str
|