@utils.decorator
def transactional(func, args, kwds, **options):
  return transactional_async.wrapped_decorator(
      func, args, kwds, **options).get_result()
Decorator to make a function automatically run in a transaction.
dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py/transactional