Skip to content

Commit 1d2f5dd

Browse files
author
[weifanchen]
committed
flaskapp
1 parent fbf035d commit 1d2f5dd

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

sephora/myflask/flaskapp.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@ def ping_pong():
1818
result = queryByName(res['product'])
1919
return result
2020
elif res['type']=='Advanced':
21-
print(res['fda[]'])
22-
# param = {
23-
# 'brand': False,
24-
# 'minicategory':False,
25-
# 'price':[100,500],
26-
# 'acne':False,
27-
# 'irrative':2, #
28-
# 'safety':2,
29-
# 'fragrance':False,
30-
# 'preservatives':False,
31-
# 'alcohol':False # "ingredient_id": "fe88f2158"
32-
# }
3321
param = {
3422
'minicategory' :str(res.getlist('categories[]'))[1:-1], # empty = []
3523
'brand': res.get('brand',False),

sephora/output/query_result.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)