Skip to content

Commit 694d3ab

Browse files
committed
2 parents 7ccd51a + a81d2b7 commit 694d3ab

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,6 @@ examples/graph_examples/ScrapeGraphAI_generated_graph
3131
examples/**/result.csv
3232
examples/**/result.json
3333
main.py
34+
*.python-version
35+
*.lock
3436

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.0.1](https://github.com/VinciGit00/Scrapegraph-ai/compare/v1.0.0...v1.0.1) (2024-05-15)
2+
3+
4+
### Bug Fixes
5+
6+
* **searchgraph:** used shallow copy to serialize obj ([096b665](https://github.com/VinciGit00/Scrapegraph-ai/commit/096b665c0152593c19402e555c0850cdd3b2a2c0))
7+
18
## [1.0.0](https://github.com/VinciGit00/Scrapegraph-ai/compare/v0.11.1...v1.0.0) (2024-05-15)
29

310

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "scrapegraphai"
33

4-
version = "1.0.0"
4+
version = "1.0.1"
55

66
description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
77
authors = [
@@ -10,7 +10,6 @@ authors = [
1010
{ name = "Lorenzo Padoan", email = "[email protected]" }
1111
]
1212
dependencies = [
13-
# python = ">=3.9, <3.12"
1413
"langchain==0.1.15",
1514
"langchain-openai==0.1.6",
1615
"langchain-google-genai==1.0.3",

scrapegraphai/graphs/omni_search_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
OmniSearchGraph Module
33
"""
44

5-
from copy import deepcopy
5+
from copy import copy
66

77
from .base_graph import BaseGraph
88
from ..nodes import (
@@ -43,7 +43,7 @@ class OmniSearchGraph(AbstractGraph):
4343
def __init__(self, prompt: str, config: dict):
4444

4545
self.max_results = config.get("max_results", 3)
46-
self.copy_config = deepcopy(config)
46+
self.copy_config = copy(config)
4747

4848
super().__init__(prompt, config)
4949

scrapegraphai/graphs/search_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
SearchGraph Module
33
"""
44

5-
from copy import deepcopy
5+
from copy import copy
66

77
from .base_graph import BaseGraph
88
from ..nodes import (
@@ -42,7 +42,7 @@ class SearchGraph(AbstractGraph):
4242
def __init__(self, prompt: str, config: dict):
4343

4444
self.max_results = config.get("max_results", 3)
45-
self.copy_config = deepcopy(config)
45+
self.copy_config = copy(config)
4646

4747
super().__init__(prompt, config)
4848

0 commit comments

Comments
 (0)