Skip to content

Commit

Permalink
add *args to action_wrapper (watertap-org#1475)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelPesce authored Aug 13, 2024
1 parent 02a965c commit e81bd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion watertap/ui/fsapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def add_action(self, action_name: str, action_func: Callable):

# print(f'ADDING ACTION: {action_name}')
# print(action_func)
def action_wrapper(**kwargs):
def action_wrapper(*args, **kwargs):
if action_name == Actions.build:
# set new model object from return value of build action
action_result = action_func(**kwargs)
Expand Down

0 comments on commit e81bd8b

Please sign in to comment.