File tree Expand file tree Collapse file tree 4 files changed +159
-2
lines changed Expand file tree Collapse file tree 4 files changed +159
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,11 @@ chronological order. Releases follow [semantic versioning](https://semver.org/)
5
5
releases are available on [ PyPI] ( https://pypi.org/project/pytask ) and
6
6
[ Anaconda.org] ( https://anaconda.org/conda-forge/pytask ) .
7
7
8
- ## 0.2.0 - 2022-xx-xx
8
+ ## 0.2.1 - 2022-xx-xx
9
+
10
+ - {pull}` 259 ` adds an ` .svg ` for profiling tasks.
11
+
12
+ ## 0.2.0 - 2022-04-14
9
13
10
14
- {pull}` 211 ` allows for flexible dependencies and products which can be any pytree of
11
15
native Python objects as supported by pybaum.
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ $ pytask profile
9
9
10
10
Here is an example
11
11
12
- ``` {image} /_static/images/pytask- profile.png
12
+ ``` {image} /_static/images/profile.svg
13
13
```
Original file line number Diff line number Diff line change
1
+ from __future__ import annotations
2
+
3
+ import pytask
4
+ from click .testing import CliRunner
5
+
6
+
7
+ if __name__ == "__main__" :
8
+ runner = CliRunner ()
9
+
10
+ pytask .console .record = True
11
+ runner .invoke (pytask .cli , ["profile" ])
12
+ pytask .console .save_svg ("profile.svg" , title = "pytask" )
You can’t perform that action at this time.
0 commit comments