Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudw committed Aug 19, 2024
1 parent 5411035 commit 06dac92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion metaflow/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ def get_plugin_cli():
from .aws.step_functions.schedule_decorator import ScheduleDecorator
from .project_decorator import ProjectDecorator
from .aip.s3_sensor_decorator import S3SensorDecorator

from .aip.exit_handler_decorator import ExitHandlerDecorator

FLOW_DECORATORS = [
Expand Down
7 changes: 4 additions & 3 deletions metaflow/plugins/aip/tests/flows/skip_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ def skipped_step(self):
raise Exception(
"Unexpectedly ran the skipped_step step. This step should have been skipped."
)
self.next(self.unreachable)
self.next(self.unreachable_step)

def unreachable(self):
@step
def unreachable_step(self):
raise Exception(
"Unexpectedly ran the unreachable step. This step should have been skipped."
)
self.next(self.end)
self.next(self.desired_step)

@skip(check="condition_false", next="end")
@step
Expand Down

0 comments on commit 06dac92

Please sign in to comment.