@@ -105,7 +105,7 @@ def are_same_type(src, sink): # type: (Any, Any) -> bool
105
105
106
106
107
107
def object_from_state (state , parms , frag_only , supportsMultipleInput , sourceField ):
108
- # type: (Dict[str,WorkflowStateItem], List[Dict[str, Any]], bool, bool) -> Dict[str, str]
108
+ # type: (Dict[str, WorkflowStateItem], List[Dict[str, Any]], bool, bool, unicode ) -> Dict[str, str]
109
109
inputobj = {} # type: Dict[str, str]
110
110
for inp in parms :
111
111
iid = inp ["id" ]
@@ -555,7 +555,7 @@ def setTotal(self, total): # type: (int) -> None
555
555
556
556
557
557
def dotproduct_scatter (process , joborder , scatter_keys , output_callback , ** kwargs ):
558
- # type: (WorkflowJobStep, Dict[str, Any], str, List[str], Callable[..., Any], **Any) -> Generator[WorkflowJob, None, None]
558
+ # type: (WorkflowJobStep, Dict[str, Any], List[str], Callable[..., Any], **Any) -> Generator[WorkflowJob, None, None]
559
559
l = None
560
560
for s in scatter_keys :
561
561
if l is None :
@@ -581,7 +581,7 @@ def dotproduct_scatter(process, joborder, scatter_keys, output_callback, **kwarg
581
581
582
582
583
583
def nested_crossproduct_scatter (process , joborder , scatter_keys , output_callback , ** kwargs ):
584
- # type: (WorkflowJobStep, Dict[str, Any], str, List[str], Callable[..., Any], **Any) -> Generator[WorkflowJob, None, None]
584
+ # type: (WorkflowJobStep, Dict[str, Any], List[str], Callable[..., Any], **Any) -> Generator[WorkflowJob, None, None]
585
585
scatter_key = scatter_keys [0 ]
586
586
l = len (joborder [scatter_key ])
587
587
output = {} # type: Dict[str,List[str]]
@@ -623,7 +623,7 @@ def crossproduct_size(joborder, scatter_keys):
623
623
return sum
624
624
625
625
def flat_crossproduct_scatter (process , joborder , scatter_keys , output_callback , startindex , ** kwargs ):
626
- # type: (WorkflowJobStep, Dict[str, Any], str, List[str], Union[ReceiveScatterOutput,Callable[..., Any]], int, **Any) -> Generator[WorkflowJob, None, None]
626
+ # type: (WorkflowJobStep, Dict[str, Any], List[str], Union[ReceiveScatterOutput,Callable[..., Any]], int, **Any) -> Generator[WorkflowJob, None, None]
627
627
scatter_key = scatter_keys [0 ]
628
628
l = len (joborder [scatter_key ])
629
629
rc = None # type: ReceiveScatterOutput
0 commit comments