Skip to content

Commit

Permalink
ignore syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <eric901201@gmail.com>
  • Loading branch information
Future-Outlier committed Jul 29, 2024
1 parent c83e57e commit 8a982cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/flytekit/unit/core/test_dataclass.py
Original file line number Diff line number Diff line change
@@ -904,7 +904,7 @@ def my_flyte_workflow(b: bool) -> list[MyDataClass | None]:

@task
def my_flyte_task(inputs: list[MyDataClass | None]) -> bool:
return inputs and inputs[0] is not None
return inputs and (inputs[0] is not None) # type: ignore

@workflow
def main_flyte_workflow(b: bool = False) -> bool:

0 comments on commit 8a982cc

Please sign in to comment.