def set_detailed_results()

in elastic/shared/parameter_sources/workflow_selector.py [0:0]


    def set_detailed_results(self, action):
        if isinstance(action, dict):
            if "operation-type" in action and action["operation-type"] == "search":
                action["detailed-results"] = True
            else:
                for key, value in action.items():
                    self.set_detailed_results(value)
        elif isinstance(action, list):
            for value in action:
                self.set_detailed_results(value)