From aba15792f9ed0256a3dccc08ae829b9112ed0823 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Mon, 9 Dec 2024 14:22:44 -0800 Subject: [PATCH] fmt Signed-off-by: Yee Hing Tong --- .../advanced_composition/eager_workflows.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/advanced_composition/advanced_composition/eager_workflows.py b/examples/advanced_composition/advanced_composition/eager_workflows.py index 8f16b3072..17f8d1735 100644 --- a/examples/advanced_composition/advanced_composition/eager_workflows.py +++ b/examples/advanced_composition/advanced_composition/eager_workflows.py @@ -1,4 +1,4 @@ -from flytekit import task, workflow, eager +from flytekit import eager, task, workflow # Example 1 @@ -56,6 +56,7 @@ async def eager_workflow_with_conditionals(x: int) -> int: # Gather the outputs of multiple tasks or subworkflows into a list: import asyncio + @task async def add_one_async(x: int) -> int: return x + 1