@utils.positional(1)
def transaction(callback, **ctx_options):
 fut = transaction_async(callback, **ctx_options)
 return fut.get_result()

@ utils . positional ( 1 ) def transaction ( callback , ** ctx_options ) : fut = transaction_async ( callback , ** ctx_options ) return fut . get_result ( )
transaction decorator factory .