WSMessage object
This commit is contained in:
8
hopper/models/product.py
Normal file
8
hopper/models/product.py
Normal file
@ -0,0 +1,8 @@
|
||||
from dataclasses import dataclass, field
|
||||
import uuid
|
||||
|
||||
|
||||
@dataclass
|
||||
class Product:
|
||||
name: str
|
||||
uuid: str = field(default_factory=lambda: str(uuid.uuid4()))
|
||||
Reference in New Issue
Block a user