Skip to content

Commit e76a68a

Browse files
committed
fix: remove variable "max_result" not being used in the code
1 parent f17089c commit e76a68a

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

scrapegraphai/graphs/csv_scraper_multi_graph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class CSVScraperMultiGraph(AbstractGraph):
4444
def __init__(self, prompt: str, source: List[str],
4545
config: dict, schema: Optional[BaseModel] = None):
4646

47-
self.max_results = config.get("max_results", 3)
4847
self.copy_config = safe_deepcopy(config)
4948
self.copy_schema = deepcopy(schema)
5049

scrapegraphai/graphs/json_scraper_multi_graph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ class JSONScraperMultiGraph(AbstractGraph):
4444
def __init__(self, prompt: str, source: List[str],
4545
config: dict, schema: Optional[BaseModel] = None):
4646

47-
self.max_results = config.get("max_results", 3)
4847
self.copy_config = safe_deepcopy(config)
4948
self.copy_schema = deepcopy(schema)
5049

scrapegraphai/graphs/script_creator_multi_graph.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ class ScriptCreatorMultiGraph(AbstractGraph):
4343
def __init__(self, prompt: str, source: List[str],
4444
config: dict, schema: Optional[BaseModel] = None):
4545

46-
self.max_results = config.get("max_results", 3)
47-
4846
self.copy_config = safe_deepcopy(config)
4947
self.copy_schema = deepcopy(schema)
5048
super().__init__(prompt, config, source, schema)

scrapegraphai/graphs/smart_scraper_multi_concat_graph.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class SmartScraperMultiConcatGraph(AbstractGraph):
4545
def __init__(self, prompt: str, source: List[str],
4646
config: dict, schema: Optional[BaseModel] = None):
4747

48-
self.max_results = config.get("max_results", 3)
4948
self.copy_config = safe_deepcopy(config)
5049
self.copy_schema = deepcopy(schema)
5150

0 commit comments

Comments
 (0)