Вопрос

I could know whether a queue_name is available or not in queue.yaml from UnknownQueueError when passed unknown queue_name.

from google.appengine.api import taskqueue
taskqueue.add(url="/mytask", queue_name="foo", method="GET")

However, I prefer to know it without exception handling. Are there any API?

Это было полезно?

Решение

There is not currently an API. You can vote for the issue https://code.google.com/p/googleappengine/issues/detail?id=8405

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top