

@utils.decorator
def transactional_tasklet(func, args, kwds, **options):
    'The async version of @ndb.transaction.\n\n  Will return the result of the wrapped function as a Future.\n  '
    from . import tasklets
    func = tasklets.tasklet(func)
    return transactional_async.wrapped_decorator(func, args, kwds, **options)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py transactional_tasklet/original