Skip to content

Commit

Permalink
separate task_pre_step and task_decorate inits (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen authored Jan 11, 2024
1 parent 60a8caf commit c39f425
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metaflow/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ def run_step(
inputs,
)

for deco in decorators:
# decorators can actually decorate the step function,
# or they can replace it altogether. This functionality
# is used e.g. by catch_decorator which switches to a
Expand Down

0 comments on commit c39f425

Please sign in to comment.