Skip to content

Commit 01c8fcd

Browse files
Luboslav Yordanovclaude
authored andcommitted
fix: Comment out CodeGeneratorGraph import to avoid langchain_classic issue
CodeGeneratorGraph requires langchain_classic which has packaging issues. Since we don't use CodeGeneratorGraph for speaker scraping, commenting it out is the simplest workaround. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 0b1a78d commit 01c8fcd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scrapegraphai/graphs/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
from .abstract_graph import AbstractGraph
66
from .base_graph import BaseGraph
7-
from .code_generator_graph import CodeGeneratorGraph
7+
# Lazy import to avoid langchain_classic dependency issues
8+
# from .code_generator_graph import CodeGeneratorGraph
89
from .csv_scraper_graph import CSVScraperGraph
910
from .csv_scraper_multi_graph import CSVScraperMultiGraph
1011
from .depth_search_graph import DepthSearchGraph
@@ -53,7 +54,7 @@
5354
"DepthSearchGraph",
5455
"OmniSearchGraph",
5556
# Other specialized graphs
56-
"CodeGeneratorGraph",
57+
# "CodeGeneratorGraph", # Commented out to avoid langchain_classic dependency
5758
"OmniScraperGraph",
5859
"ScreenshotScraperGraph",
5960
"ScriptCreatorGraph",

0 commit comments

Comments
 (0)