WSMessage object

This commit is contained in:
Eden Kirin
2023-03-30 18:53:24 +02:00
parent b80130d942
commit 6111d07f09
5 changed files with 54 additions and 12 deletions

8
hopper/models/product.py Normal file
View 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()))