Skip to content

Commit

Permalink
[#1044] Fix invalid decorator order
Browse files Browse the repository at this point in the history
  • Loading branch information
fivitti committed Aug 1, 2023
1 parent bad579f commit c1fd366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/core/wrappers/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ def on_cancel(transaction_id: int):

return Server._api_transaction(on_begin, on_submit, on_cancel)

@contextmanager
@staticmethod
@contextmanager
def _api_transaction(
on_begin: Callable[[], T1],
on_submit: Callable[[int, T2], None],
Expand Down

0 comments on commit c1fd366

Please sign in to comment.