special characters in google app-engine task queue task names
Are dashes(-) or any other special characters all开发者_如何学Pythonowed in task names in task queues?
Yes, you can use dashes. You can also have letters (any case) or numbers. The name must be between 1 and 500 characters.
This is all from looking at the source code, which specifies that task names must match this regular expression:
MAX_TASK_NAME_LENGTH = 500
r'^[a-zA-Z0-9-]{1,%s}$' % MAX_TASK_NAME_LENGTH
精彩评论