Skip to content

Commit f2921a3

Browse files
authored
register_output fix typing (#294)
1 parent 297701e commit f2921a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

sisyphus/toolkit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ def find_path(pattern):
161161
return sis_graph.find(pattern, mode="path")
162162

163163

164-
def register_output(name, value, export_graph=False):
164+
def register_output(name: str, value: AbstractPath, export_graph: bool = False):
165165
"""
166-
:param str name:
167-
:param Path value:
168-
:param bool export_graph:
166+
:param name:
167+
:param value:
168+
:param export_graph:
169169
"""
170170
if not isinstance(value, AbstractPath):
171171
import pathlib

0 commit comments

Comments
 (0)