Skip to content

Commit 8ce08ba

Browse files
committed
fix: graph Iterator node
1 parent 69880b6 commit 8ce08ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scrapegraphai/graphs/smart_scraper_multi_concat_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ def _create_graph(self) -> BaseGraph:
6666
node_config={
6767
"graph_instance": SmartScraperGraph,
6868
"scraper_config": self.copy_config,
69-
"scraper_schema": self.copy_schema,
70-
}
69+
},
70+
schema=self.copy_schema,
7171
)
7272

7373
concat_answers_node = ConcatAnswersNode(

scrapegraphai/nodes/graph_iterator_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ async def _async_run(graph):
130130
if url.startswith("http"):
131131
graph.input_key = "url"
132132
participants.append(graph)
133-
133+
134134
futures = [_async_run(graph) for graph in participants]
135135

136136
answers = await tqdm.gather(

0 commit comments

Comments
 (0)