mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-07-01 21:00:48 +08:00
fix: graph Iterator node
This commit is contained in:
parent
69880b680a
commit
8ce08baf01
@ -66,8 +66,8 @@ class SmartScraperMultiConcatGraph(AbstractGraph):
|
|||||||
node_config={
|
node_config={
|
||||||
"graph_instance": SmartScraperGraph,
|
"graph_instance": SmartScraperGraph,
|
||||||
"scraper_config": self.copy_config,
|
"scraper_config": self.copy_config,
|
||||||
"scraper_schema": self.copy_schema,
|
},
|
||||||
}
|
schema=self.copy_schema,
|
||||||
)
|
)
|
||||||
|
|
||||||
concat_answers_node = ConcatAnswersNode(
|
concat_answers_node = ConcatAnswersNode(
|
||||||
|
|||||||
@ -130,7 +130,7 @@ class GraphIteratorNode(BaseNode):
|
|||||||
if url.startswith("http"):
|
if url.startswith("http"):
|
||||||
graph.input_key = "url"
|
graph.input_key = "url"
|
||||||
participants.append(graph)
|
participants.append(graph)
|
||||||
|
|
||||||
futures = [_async_run(graph) for graph in participants]
|
futures = [_async_run(graph) for graph in participants]
|
||||||
|
|
||||||
answers = await tqdm.gather(
|
answers = await tqdm.gather(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user