Skip to content

Commit 3c90d2f

Browse files
committed
add info for gemini example
1 parent 261ecbf commit 3c90d2f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/gemini/smart_scraper_gemini.py

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

55
import os
66
from dotenv import load_dotenv
7+
from scrapegraphai.utils import prettify_exec_info
78
from scrapegraphai.graphs import SmartScraperGraph
89
load_dotenv()
910

@@ -34,3 +35,10 @@
3435

3536
result = smart_scraper_graph.run()
3637
print(result)
38+
39+
# ************************************************
40+
# Get graph execution info
41+
# ************************************************
42+
43+
graph_exec_info = smart_scraper_graph.get_execution_info()
44+
print(prettify_exec_info(graph_exec_info))

0 commit comments

Comments
 (0)