![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | flush |
Mutation pool accumulates changes to perform them in patch. Any Pool subclass should not be public. Instead, Pool should define an operation.Operation class and let user uses that. For example, in a map function, user can do: def map(foo): yield OperationOnMyPool(any_argument) Since Operation is a callable object, Mapreduce library will invoke any Operation object that is yielded with context.Context instance. The operation object can then access MyPool from Context.get_pool.
def google.appengine.ext.mapreduce.context.Pool.flush | ( | self | ) |
Flush all changes.