Skip to content

Commit 33828c1

Browse files
committed
Fix some docs.
1 parent 7285bd4 commit 33828c1

4 files changed

Lines changed: 116 additions & 1038 deletions

File tree

docs/source/tutorials/defining_dependencies_products.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ in `task_data_preparation.py`.
5050
:sync: annotated
5151
5252
```{literalinclude} ../../../docs_src/tutorials/defining_dependencies_products_products_py310.py
53-
:emphasize-lines: 11
53+
:emphasize-lines: 8, 12
5454
```
5555
5656
{class}`~pytask.Product` allows marking an argument as a product. After the
@@ -98,7 +98,7 @@ pytask assumes that all function arguments that do not have a {class}`~pytask.Pr
9898
annotation are dependencies of the task.
9999
100100
```{literalinclude} ../../../docs_src/tutorials/defining_dependencies_products_dependencies_py310.py
101-
:emphasize-lines: 11
101+
:emphasize-lines: 12
102102
```
103103
104104
````

docs/source/tutorials/using_a_data_catalog.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ of our tasks. Here we see again the signature of the task function.
5959
:sync: annotated
6060
6161
```{literalinclude} ../../../docs_src/tutorials/defining_dependencies_products_products_py310.py
62-
:lines: 10-12
62+
:lines: 11-12
6363
```
6464
````
6565
@@ -141,7 +141,7 @@ Following one of the interfaces gives you immediate access to the
141141
:sync: annotated
142142
143143
```{literalinclude} ../../../docs_src/tutorials/using_a_data_catalog_3_py310.py
144-
:emphasize-lines: 12
144+
:emphasize-lines: 13
145145
```
146146
147147
````
@@ -206,7 +206,7 @@ different node types which is not relevant now.
206206
:sync: annotated
207207
208208
```{literalinclude} ../../../docs_src/tutorials/using_a_data_catalog_5_py310.py
209-
:emphasize-lines: 11, 12
209+
:emphasize-lines: 12, 13
210210
```
211211
212212
````

docs/source/tutorials/write_a_task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The type hint `Annotated[Path, Product]` uses
5252
argument as a product.
5353
5454
```{literalinclude} ../../../docs_src/tutorials/write_a_task_py310.py
55-
:emphasize-lines: 3, 11
55+
:emphasize-lines: 3, 12
5656
```
5757
5858
```{tip}

0 commit comments

Comments
 (0)