added asins for woot listings
This commit is contained in:
1 parent
93013c5d55
commit
03cc3a35cb
24 files changed
+1565
-2
No files matched your search
@@ -398,6 +398,7 @@ def convert_product_to_mongo(product: Product) -> dict:
|
||||
"promoPercentage": metadata["promo_percentage"],
|
||||
"promoDollarOff": metadata["promo_dollar_off"],
|
||||
"promoMinSpend": metadata["promo_min_spend"],
|
||||
"asin": metadata["asin"],
|
||||
"startDate": timing["start_date"],
|
||||
"endDate": timing["end_date"],
|
||||
"priceBeforeDrop": pricing["price_before_drop"],
|
||||
|
||||
@@ -124,6 +124,7 @@ class ProductMetadata:
|
||||
promo_dollar_off: int | None = None
|
||||
promo_min_spend: int | None = None
|
||||
new_listing: bool | None = None
|
||||
asin: str | None = None
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in new issue
Block a user