fix es search parameter error (#3169)

### What problem does this PR solve?

#3151

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Kevin Hu
2024-11-04 09:53:41 +08:00
committed by GitHub
parent c06e765a5b
commit 8d9238db14
3 changed files with 10 additions and 7 deletions

View File

@ -397,6 +397,10 @@ class ComponentBase(ABC):
self._param = param
self._param.check()
def get_dependent_components(self):
cpnts = [para["component_id"] for para in self._param.query]
return cpnts
def run(self, history, **kwargs):
flow_logger.info("{}, history: {}, kwargs: {}".format(self, json.dumps(history, ensure_ascii=False),
json.dumps(kwargs, ensure_ascii=False)))