File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +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.4.6
9
+
10
+ - {pull}` 548 ` fixes the type hints for {meth}` ~pytask.Task.execute ` and
11
+ {meth}` ~pytask.TaskWithoutPath.execute ` . Thanks to {user}` Ostheer ` .
12
+
8
13
## 0.4.5 - 2024-01-09
9
14
10
15
- {pull}` 515 ` enables tests with graphviz in CI. Thanks to {user}` NickCrews ` .
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def state(self) -> str | None:
80
80
else :
81
81
return hashlib .sha256 (source .encode ()).hexdigest ()
82
82
83
- def execute (self , ** kwargs : Any ) -> None :
83
+ def execute (self , ** kwargs : Any ) -> Any :
84
84
"""Execute the task."""
85
85
return self .function (** kwargs )
86
86
@@ -140,7 +140,7 @@ def state(self) -> str | None:
140
140
return hash_path (self .path , modification_time )
141
141
return None
142
142
143
- def execute (self , ** kwargs : Any ) -> None :
143
+ def execute (self , ** kwargs : Any ) -> Any :
144
144
"""Execute the task."""
145
145
return self .function (** kwargs )
146
146
You can’t perform that action at this time.
0 commit comments