Special characters in google app-engine application queue task names

Are there dashes (-) or any other special characters in the task names in the task queues?

+4
source share
1 answer

Yes, you can use a dash. You can also have letters (anyway) or numbers. The name must be between 1 and 500 characters.

That's all if you look at the source code , which indicates that the task names must match this regular expression:

MAX_TASK_NAME_LENGTH = 500 r'^[a-zA-Z0-9-]{1,%s}$' % MAX_TASK_NAME_LENGTH 
+5
source

Source: https://habr.com/ru/post/1310056/


All Articles