diff --git a/lib/galaxy/workflow/modules.py b/lib/galaxy/workflow/modules.py index f259f3a5c8eb..f7015235a8b1 100644 --- a/lib/galaxy/workflow/modules.py +++ b/lib/galaxy/workflow/modules.py @@ -926,8 +926,8 @@ def get_inputs(self): optional_cond.cases = optional_cases if param_type == "text": - restrict_how_source: Union[ - Dict[str, Union[str, List[Dict[str, Union[str, bool]]]]] + restrict_how_source: Dict[ + str, Union[str, List[Dict[str, Union[str, bool]]]] ] = dict(name="how", label="Restrict Text Values?", type="select") if parameter_def.get("restrictions") is not None: restrict_how_value = "staticRestrictions"