Spaces:
Sleeping
Sleeping
Rivalcoder
commited on
Commit
·
540c8b7
1
Parent(s):
3d621e5
[Edit]
Browse files
app.py
CHANGED
@@ -35,8 +35,17 @@ def run_pipeline():
|
|
35 |
_id=pw.this._id,
|
36 |
name=pw.this.name,
|
37 |
price=pw.this.price,
|
|
|
38 |
category=pw.this.category,
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
).with_id_from(pw.this._id)
|
41 |
|
42 |
def update_cache(key, row, time, is_addition):
|
|
|
35 |
_id=pw.this._id,
|
36 |
name=pw.this.name,
|
37 |
price=pw.this.price,
|
38 |
+
description=pw.this.description,
|
39 |
category=pw.this.category,
|
40 |
+
stock=pw.this.stock,
|
41 |
+
imageUrl=pw.this.imageUrl,
|
42 |
+
isNew=pw.this.isNew,
|
43 |
+
isActive=pw.this.isActive,
|
44 |
+
createdBy=pw.this.createdBy,
|
45 |
+
ratings=pw.this.ratings,
|
46 |
+
createdAt=pw.this.createdAt,
|
47 |
+
updatedAt=pw.this.updatedAt,
|
48 |
+
promoCopy=pw.this.promoCopy
|
49 |
).with_id_from(pw.this._id)
|
50 |
|
51 |
def update_cache(key, row, time, is_addition):
|