File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -1630,7 +1630,19 @@ def execute(
16301630 input_param = self .get_runtime_inputs (self )["input" ]
16311631 # TODO: raise DelayedWorkflowEvaluation if replacement not ready ? Need test
16321632 try :
1633- input_param .validate (input_value , trans )
1633+ if not isinstance (
1634+ input_value ,
1635+ (
1636+ model .DatasetInstance ,
1637+ model .HistoryDatasetCollectionAssociation ,
1638+ model .DatasetCollection ,
1639+ model .DatasetCollectionElement ,
1640+ ),
1641+ ):
1642+ # We could attempt to turn expression.json datasets back into validatable values,
1643+ # but then we'd have to delay scheduling until they are ready. workflow parmater value validators are
1644+ # likely most important for parent workflows, where they run on primitive values.
1645+ input_param .validate (input_value , trans )
16341646 except ValueError as e :
16351647 raise FailWorkflowEvaluation (
16361648 why = InvocationFailureWorkflowParameterInvalid (
You can’t perform that action at this time.
0 commit comments