diff --git a/lib/galaxy/schema/workflows.py b/lib/galaxy/schema/workflows.py index 1aa13662d336..ae14c3a39096 100644 --- a/lib/galaxy/schema/workflows.py +++ b/lib/galaxy/schema/workflows.py @@ -97,19 +97,19 @@ class InvokeWorkflowPayload(GetTargetHistoryPayload): allow_tool_state_corrections: Optional[bool] = False use_cached_job: Optional[bool] = False step_parameters: Optional[Dict[str, Any]] = None + # input_step_parameters: Dict[str, InvocationInputParameter] = Field( # default=..., title="Input step parameters", description="Input step parameters of the workflow invocation." # ) - parameters: Optional[Dict[str, Any]] = None - inputs: Optional[Dict[str, Any]] = None - - @field_validator("ds_map", mode="before", check_fields=False) + @field_validator("ds_map", "parameters", "inputs", mode="before", check_fields=False) @classmethod def inputs_string_to_json(cls, v): if isinstance(v, str): return json.loads(v) return v + parameters: Optional[Dict[str, Any]] = None + inputs: Optional[Dict[str, Any]] = None ds_map: Optional[Dict[str, Dict[str, Any]]] = None no_add_to_history: Optional[bool] = False legacy: Optional[bool] = False