Skip to content

Commit

Permalink
Rebase into drill down...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Aug 6, 2024
1 parent a8a8199 commit 7186d69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/galaxy/tool_util/parameters/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,9 @@ def pydantic_template(self, state_representation: StateRepresentationT) -> Dynam

@property
def request_requires_value(self) -> bool:
# these seem to always require a value - see test_tools.py -> test_drill_down_first_by_default
requires_value = True
options = self.options
if options:
# if any of these are selected, they seem to serve as defaults - check out test_tools -> test_drill_down_first_by_default
return not any_drill_down_options_selected(options)
else:
# I'm not sure how to handle dynamic options... they might or might not be required?
Expand Down

0 comments on commit 7186d69

Please sign in to comment.