|
58 | 58 | from metaflow.plugins.aip.aip_decorator import AIPException
|
59 | 59 | from .accelerator_decorator import AcceleratorDecorator
|
60 | 60 | from .argo_client import ArgoClient
|
61 |
| -from .interruptible_decorator import interruptibleDecorator |
| 61 | +from .interruptible_decorator import InterruptibleDecorator |
62 | 62 | from .aip_foreach_splits import graph_to_task_ids
|
63 | 63 | from ..aws.batch.batch_decorator import BatchDecorator
|
64 | 64 | from ..aws.step_functions.schedule_decorator import ScheduleDecorator
|
@@ -106,7 +106,7 @@ def __init__(
|
106 | 106 | resource_requirements: Dict[str, str],
|
107 | 107 | aip_decorator: AIPInternalDecorator,
|
108 | 108 | accelerator_decorator: AcceleratorDecorator,
|
109 |
| - interruptible_decorator: interruptibleDecorator, |
| 109 | + interruptible_decorator: InterruptibleDecorator, |
110 | 110 | environment_decorator: EnvironmentDecorator,
|
111 | 111 | total_retries: int,
|
112 | 112 | minutes_between_retries: str,
|
@@ -741,7 +741,7 @@ def build_aip_component(node: DAGNode, task_id: str) -> AIPComponent:
|
741 | 741 | (
|
742 | 742 | deco
|
743 | 743 | for deco in node.decorators
|
744 |
| - if isinstance(deco, interruptibleDecorator) |
| 744 | + if isinstance(deco, InterruptibleDecorator) |
745 | 745 | ),
|
746 | 746 | None, # default
|
747 | 747 | ),
|
|
0 commit comments