Module: google.appengine.api.taskqueue

Task Queue API module.

Classes

class BadTaskStateError: The task is in the wrong state for the requested operation.

class BadTransactionState: The state of the current transaction does not permit this operation.

class BadTransactionStateError: The state of the current transaction does not permit this operation.

class DatastoreError: There was a datastore error while accessing the queue.

class DuplicateTaskNameError: Two tasks have the same name.

class Error: Base class for exceptions in this module.

class InternalError: An internal error occurred while accessing this queue.

class InvalidDeadlineError: The requested deadline in lease_tasks is invalid.

class InvalidDispatchDeadlineError: The requested dispatch deadline for a push task is invalid.

class InvalidEtaError: The task's ETA is invalid.

class InvalidLeaseTimeError: The lease time period is invalid.

class InvalidMaxTasksError: The requested maximum number of tasks in lease_tasks is invalid.

class InvalidQueueError: The queue's configuration is invalid.

class InvalidQueueModeError: Invokes a pull queue operation on a push queue or vice versa.

class InvalidQueueNameError: The name of the queue is invalid.

class InvalidTagError: The specified tag is invalid.

class InvalidTaskError: The parameters, headers, or method of the task is invalid.

class InvalidTaskNameError: The name of the task is invalid.

class InvalidUrlError: The relative URL used for the task is invalid.

class PermissionDeniedError: The requested operation is not allowed for this app.

class Queue: Represents a queue.

class QueuePausedError: The queue is paused and cannot process modify task lease requests.

class QueueStatistics: Represents the current state of a queue.

class Task: Represents a single task on a queue.

class TaskAlreadyExistsError: The task already exists. It has not yet run.

class TaskLeaseExpiredError: The task lease could not be renewed because it had already expired.

class TaskRetryOptions: The options used to decide when a failed task will be retried.

class TaskTooLargeError: The task is too large with its headers and payload.

class TombstonedTaskError: The task has been tombstoned.

class TooManyTasksError: Too many tasks were present in a single function call.

class TransientError: A transient error occurred while accessing the queue. Try again later.

class UnknownQueueError: The queue specified is unknown.

Functions

add(...): Convenience method that creates a task and adds it to a queue.

create_rpc(...): Creates an RPC object for use with the Task Queue API.

DEFAULT_APP_VERSION Instance of google.appengine.api.taskqueue.taskqueue._DefaultAppVersionSingleton
MAX_LEASE_SECONDS 604800
MAX_PULL_TASK_SIZE_BYTES 1048576
MAX_PUSH_TASK_SIZE_BYTES 102400
MAX_QUEUE_NAME_LENGTH 100
MAX_TASKS_PER_ADD 100
MAX_TASKS_PER_LEASE 1000
MAX_TASK_NAME_LENGTH 500
MAX_TASK_SIZE_BYTES 102400
MAX_URL_LENGTH 2083