Create a configuration object for use in configuring transactions.
google.appengine.api.datastore.CreateTransactionOptions(
**kwds
)
This configuration can be passed as run_in_transaction_option's first
argument.
Args |
deadline
|
Optional deadline; default None (which means the
system default deadline will be used, typically 5 seconds).
|
on_completion
|
Optional callback function; default None. If
specified, it will be called with a UserRPC object as argument
when an RPC completes.
|
xg
|
set to true to allow cross-group transactions (high replication
datastore only)
|
retries
|
set the number of retries for a transaction
|
**kwds
|
Other keyword arguments as long as they are supported by
datastore_rpc.TransactionOptions().
|
Returns |
A datastore_rpc.TransactionOptions instance.
|