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