fix: refine subflow field filtering to include '|' character check (#4277)
* Refine subflow field filtering to include '|' character check * Add resource cleanup in test_components_path to ensure proper closure * Remove unnecessary try-finally block in test_cli.py * Remove unused pytest fixture decorator from test_components_path function * Update test duration tracking in backend tests
This commit is contained in:
parent
78e6ee1a8a
commit
ee101e643c
3 changed files with 602 additions and 426 deletions
|
|
@ -90,7 +90,7 @@ class SubFlowComponent(Component):
|
|||
async def generate_results(self) -> list[Data]:
|
||||
tweaks: dict = {}
|
||||
for field in self._attributes:
|
||||
if field != "flow_name":
|
||||
if field != "flow_name" and "|" in field:
|
||||
[node, name] = field.split("|")
|
||||
if node not in tweaks:
|
||||
tweaks[node] = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue