@property<EOL><INDENT>def current_transaction(self):<DEDENT>
try:<EOL><INDENT>tx, _, _, _, _ = self._callstack[-<NUM_LIT:1>]<EOL>if tx.result is not None:<EOL><INDENT>return None<EOL><DEDENT>return tx<EOL><DEDENT>except IndexError:<EOL><INDENT>return None<EOL><DEDENT>
current tx