From c6efe63d27421d5189b8cbb699ac8448c8201322 Mon Sep 17 00:00:00 2001 From: Qiwen Yu Date: Fri, 29 Oct 2021 12:22:11 -0400 Subject: [PATCH] Update authoring.rst (#726) Signed-off-by: Qiwen Yu --- docs/source/design/authoring.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/design/authoring.rst b/docs/source/design/authoring.rst index 90b8717ec4..2b1d0ea705 100644 --- a/docs/source/design/authoring.rst +++ b/docs/source/design/authoring.rst @@ -114,7 +114,7 @@ Before going further, there is a special object that's worth mentioning, the :py Let's assume we have a workflow like :: @task - def t1(a: int) -> (int, str): + def t1(a: int) -> Tuple[int, str]: return a + 2, "world" @task @@ -122,7 +122,7 @@ Let's assume we have a workflow like :: return b + a @workflow - def my_wf(a: int, b: str) -> (int, str): + def my_wf(a: int, b: str) -> Tuple[int, str]: x, y = t1(a=a).with_overrides(...) d = t2(a=y, b=b) return x, d