Skip to content

Commit

Permalink
set type to List instead of optional
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Dittamo <pvdittamo@gmail.com>
  • Loading branch information
pvditt committed Sep 17, 2024
1 parent f2070e5 commit 2698975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/core/array_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(
self._concurrency = concurrency
self._execution_mode = execution_mode
self.id = target.name
self._bindings: Optional[List[_literal_models.Binding]] = None
self._bindings: List[_literal_models.Binding] = []

Check warning on line 53 in flytekit/core/array_node.py

View check run for this annotation

Codecov / codecov/patch

flytekit/core/array_node.py#L53

Added line #L53 was not covered by tests

if min_successes is not None:
self._min_successes = min_successes
Expand Down

0 comments on commit 2698975

Please sign in to comment.