Customer Rating and review changes
This commit is contained in:
@@ -34,6 +34,8 @@ class Listing:
|
||||
pincode_applied: bool = False
|
||||
rating: Optional[Decimal] = None
|
||||
review_count: Optional[int] = None
|
||||
# {"5": n, ..., "1": n} when the source publishes a star breakdown.
|
||||
rating_breakdown: Optional[Dict[str, int]] = None
|
||||
# Customer reviews the page itself publishes (schema.org Review); stored
|
||||
# in elec.listing_review, not on the listing row.
|
||||
reviews: List[Dict[str, Any]] = field(default_factory=list)
|
||||
|
||||
Reference in New Issue
Block a user