antony.trupe
antony.trupe

Reputation: 10844

special characters in google app-engine task queue task names

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

Upvotes: 4

Views: 338

Answers (1)

David Underhill
David Underhill

Reputation: 16253

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

Upvotes: 5

Related Questions