Skip to content

Commit

Permalink
refactor(issue-98): Rename action to action_function
Browse files Browse the repository at this point in the history
#99

Co-authored-by: Álvaro Paiva <[email protected]>
  • Loading branch information
CinquilCinquil and alvarofpp authored Aug 2, 2024
1 parent 9332238 commit 2091985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions urnai/sc2/actions/sc2_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ class SC2Action:

"""This class encapsulates the usage of actions from pysc2"""

def run(action, *args) -> FunctionCall:
return action(*args)
def run(action_function, *args) -> FunctionCall:
return action_function(*args)

0 comments on commit 2091985

Please sign in to comment.