@@ -39,9 +39,9 @@ class TaskWithoutPath(PTask):
3939 """The base name of the task."""
4040 function : Callable [..., Any ]
4141 """The task function."""
42- depends_on : PyTree [PNode ] = field (factory = dict )
42+ depends_on : dict [ str , PyTree [PNode ] ] = field (factory = dict )
4343 """A list of dependencies of task."""
44- produces : PyTree [PNode ] = field (factory = dict )
44+ produces : dict [ str , PyTree [PNode ] ] = field (factory = dict )
4545 """A list of products of task."""
4646 markers : list [Mark ] = field (factory = list )
4747 """A list of markers attached to the task function."""
@@ -78,9 +78,9 @@ class Task(PTaskWithPath):
7878 """The name of the task."""
7979 display_name : str | None = field (default = None , init = False )
8080 """The shortest uniquely identifiable name for task for display."""
81- depends_on : PyTree [PNode ] = field (factory = dict )
81+ depends_on : dict [ str , PyTree [PNode ] ] = field (factory = dict )
8282 """A list of dependencies of task."""
83- produces : PyTree [PNode ] = field (factory = dict )
83+ produces : dict [ str , PyTree [PNode ] ] = field (factory = dict )
8484 """A list of products of task."""
8585 markers : list [Mark ] = field (factory = list )
8686 """A list of markers attached to the task function."""
0 commit comments