@utils.decorator
def transactional_tasklet(func, args, kwds, **options):
  from . import tasklets
  func = tasklets.tasklet(func)
  return transactional_async.wrapped_decorator(func, args, kwds, **options)
The async version of @ndb.transaction.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/transactional_tasklet