Skip to content

Commit

Permalink
Support older python
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Sep 26, 2024
1 parent b9477e0 commit 8c4a6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextpipe/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _get_inputs(self, node: DAGNode) -> List[object]:
)

@staticmethod
def __run_node(node: DAGNode, inputs: List[object], client: Client) -> List[object] | object | None:
def __run_node(node: DAGNode, inputs: List[object], client: Client) -> Union[List[object], object, None]:
utils.log(f"Running node {node.step.get_name()}")

# Skip the node if it is optional and the condition is not met
Expand Down

0 comments on commit 8c4a6bd

Please sign in to comment.