开发者

special characters in google app-engine task queue task names

开发者 https://www.devze.com 2022-12-31 15:21 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消