claude fix: improve product scraping and debugging features
This commit is contained in:
@@ -87,3 +87,20 @@ class ProductWithSnapshot(ProductBase):
|
||||
|
||||
class Config:
|
||||
orm_mode = True
|
||||
|
||||
|
||||
class ProductCreateWithSnapshot(ProductBase):
|
||||
"""Création d'un produit avec données de snapshot initiales (depuis preview)."""
|
||||
|
||||
# Données du snapshot initial
|
||||
prix_actuel: Optional[float] = None
|
||||
prix_conseille: Optional[float] = None
|
||||
prix_min_30j: Optional[float] = None
|
||||
etat_stock: Optional[str] = None
|
||||
en_stock: Optional[bool] = None
|
||||
note: Optional[float] = None
|
||||
nombre_avis: Optional[int] = None
|
||||
prime: Optional[bool] = None
|
||||
choix_amazon: Optional[bool] = None
|
||||
offre_limitee: Optional[bool] = None
|
||||
exclusivite_amazon: Optional[bool] = None
|
||||
|
||||
Reference in New Issue
Block a user