Skip to content

Commit

Permalink
remove Union with only one member
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Nov 11, 2021
1 parent 23398dc commit a467a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/workflow/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a467a76

Please sign in to comment.