@utils.decorator
def transactional(func, args, kwds, **options):
 return transactional_async.wrapped_decorator(func, args, kwds, **options).get_result()

@ 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 .