![]() |
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 | handle |
![]() | |
def | __init__ |
![]() | |
def | __init__ |
def | initialize |
def | post |
def | handle |
def | task_retry_count |
def | retry_task |
![]() | |
def | initialize |
def | get |
def | post |
def | head |
def | options |
def | put |
def | delete |
def | trace |
def | error |
def | redirect |
def | handle_exception |
def | new_factory |
def | get_url |
Static Public Member Functions | |
def | get_task_name |
Public Attributes | |
shard_context | |
slice_context | |
![]() | |
request | |
![]() | |
request | |
response | |
Callback handler for mapreduce worker task.
def google.appengine.ext.mapreduce.handlers.MapperWorkerCallbackHandler.__init__ | ( | self, | |
args | |||
) |
Constructor.
|
static |
Compute single worker task name. Args: shard_id: shard id. slice_id: slice id. retry: current shard retry count. Returns: task name which should be used to process specified shard/slice.
def google.appengine.ext.mapreduce.handlers.MapperWorkerCallbackHandler.handle | ( | self | ) |
Handle request. This method has to be careful to pass the same ShardState instance to its subroutines calls if the calls mutate or read from ShardState. Note especially that Context instance caches and updates the ShardState instance. Returns: Set HTTP status code and always returns None.