Skip to content

Commit

Permalink
Update authoring.rst (#726)
Browse files Browse the repository at this point in the history
Signed-off-by: Qiwen Yu <[email protected]>
  • Loading branch information
Qiwen-Yu authored Oct 29, 2021
1 parent 19d977e commit c6efe63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/design/authoring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,15 @@ 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
def t2(a: str, b: str) -> str:
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
Expand Down

0 comments on commit c6efe63

Please sign in to comment.