![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | EnqueueBackgroundThread |
def | RunBackgroundThread |
A container for storing pending background thread requests.
def google.appengine.runtime.background._BackgroundRequestsContainer.EnqueueBackgroundThread | ( | self, | |
request_id, | |||
target, | |||
args, | |||
kwargs | |||
) |
Enqueues a new background thread request for a certain request ID. Args: request_id: A str containing the request ID for this background thread. target: A callable for the background thread to execute. args: A tuple of positional args to be passed to target. kwargs: A dict of keyword args to be passed to target. Returns: The thread_id of the background thread.
def google.appengine.runtime.background._BackgroundRequestsContainer.RunBackgroundThread | ( | self, | |
request_id | |||
) |
Runs the callable enqueued for the specified request ID.