fix: graph Iterator node

This commit is contained in:
Marco Vinciguerra 2024-09-22 22:25:01 +02:00
parent 69880b680a
commit 8ce08baf01
2 changed files with 3 additions and 3 deletions

View File

@ -66,8 +66,8 @@ class SmartScraperMultiConcatGraph(AbstractGraph):
node_config={
"graph_instance": SmartScraperGraph,
"scraper_config": self.copy_config,
"scraper_schema": self.copy_schema,
}
},
schema=self.copy_schema,
)
concat_answers_node = ConcatAnswersNode(

View File

@ -130,7 +130,7 @@ class GraphIteratorNode(BaseNode):
if url.startswith("http"):
graph.input_key = "url"
participants.append(graph)
futures = [_async_run(graph) for graph in participants]
answers = await tqdm.gather(