From 7186d69a9b3d3a592f494c4c93944edbf0120ca2 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 5 Aug 2024 21:17:40 -0400 Subject: [PATCH] Rebase into drill down... --- lib/galaxy/tool_util/parameters/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/galaxy/tool_util/parameters/models.py b/lib/galaxy/tool_util/parameters/models.py index b60f57a66ff5..27efc38feee2 100644 --- a/lib/galaxy/tool_util/parameters/models.py +++ b/lib/galaxy/tool_util/parameters/models.py @@ -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?