Google应用引擎任务队列示例 [英] google app engine task queue sample
本文介绍了Google应用引擎任务队列示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
import:
from google。 appengine.api import taskqueue
定义并运行:
taskqueue.add(url ='/ service',params = {'user':user},method =GET)
url 是导致代码在队列中运行的RequestHandler
可以是常规的url params Currently, i try to working with task queue. But i don't see any complete sample on this matter.
So please give me some sample of task queue in google app engine, written in python.
解决方案import:
from google.appengine.api import taskqueue
define and run:
taskqueue.add(url='/service', params={'user': user}, method="GET")
url is the RequestHandler that leads to the code to run in the queue
params can be regular url params
这篇关于Google应用引擎任务队列示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文