Example #1
0
 def post(self):
     # add.delay(2, 3)
     downloadlist = json.loads(request.data)["downloadlist"]
     for task in downloadlist:
         grab_from_qy.delay(task["lcid"])
     return Status(200, 'success', None).result
Example #2
0
 def post(self):
     # add.delay(2, 3)
     downloadlist = json.loads(request.data)["downloadlist"]
     for task in downloadlist:
         grab_from_qy.delay(task["lcid"])
     return Status(200, 'success', None).result
Example #3
0
 def get(self, lcid):
     # add.delay(2, 3)
     grab_from_qy.delay(lcid)
     return Status(200, 'success', None).result
Example #4
0
 def get(self, lcid):
     # add.delay(2, 3)
     grab_from_qy.delay(lcid)
     return Status(200, 'success', None).result