@@ -18,21 +18,14 @@ defines where the return of the function, a string, should be stored.
1818
1919````` {tab-set}
2020
21- ````{tab-item} Python 3.10+
22- :sync: python310plus
21+ ````{tab-item} Annotated
22+ :sync: annotated
2323
2424```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_1_py310.py
2525```
2626
2727````
2828
29- ````{tab-item} Python 3.9
30- :sync: python38plus
31-
32- ```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_1_py38.py
33- ```
34-
35- ````
3629`````
3730
3831It works because internally the path is converted to a {class}` pytask.PathNode ` that is
@@ -60,22 +53,14 @@ of the previous interfaces.
6053
6154````` {tab-set}
6255
63- ````{tab-item} Python 3.10+
64- :sync: python310plus
56+ ````{tab-item} Annotated
57+ :sync: annotated
6558
6659```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_3_py310.py
6760```
6861
6962````
7063
71- ````{tab-item} Python 3.9
72- :sync: python38plus
73-
74- ```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_3_py38.py
75- ```
76-
77- ````
78-
7964````{tab-item} @pytask.task
8065
8166```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_3_task.py
@@ -95,22 +80,14 @@ mapped to the defined nodes.
9580
9681````` {tab-set}
9782
98- ````{tab-item} Python 3.10+
99- :sync: python310plus
83+ ````{tab-item} Annotated
84+ :sync: annotated
10085
10186```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_4_py310.py
10287```
10388
10489````
10590
106- ````{tab-item} Python 3.9
107- :sync: python38plus
108-
109- ```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_4_py38.py
110- ```
111-
112- ````
113-
11491````{tab-item} @pytask.task
11592
11693```{literalinclude} ../../../docs_src/how_to_guides/using_task_returns_example_4_task.py
0 commit comments