Skip to content

Commit 966ec62

Browse files
Adding type hints to from_noodles_promise
1 parent 01b35af commit 966ec62

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

fairworkflows/fairworkflow.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@ def from_function(cls, func: Callable):
8686
'use is_fairworkflow decorator to mark it.')
8787

8888
@classmethod
89-
def from_noodles_promise(cls, workflow_level_promise, step_level_promise, description: str = None, label: str =
90-
None, is_pplan_plan: bool = True, derived_from=None):
89+
def from_noodles_promise(cls, workflow_level_promise: PromisedObject,
90+
step_level_promise: PromisedObject,
91+
description: str = None, label: str= None,
92+
is_pplan_plan: bool = True, derived_from=None):
9193
"""
9294
9395
Args:

0 commit comments

Comments
 (0)