MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / DummyGraph

Class DummyGraph

tests/test_csv_scraper_multi_graph.py:12–20  ·  view source on GitHub ↗

Dummy graph that returns a predefined answer.

Source from the content-addressed store, hash-verified

10
11# Dummy graph classes to simulate behavior during tests
12class DummyGraph:
13 """Dummy graph that returns a predefined answer."""
14
15 def __init__(self, answer):
16 self.answer = answer
17
18 def execute(self, inputs):
19 # Returns a tuple of (final_state, execution_info)
20 return ({"answer": self.answer}, {})
21
22
23class DummyGraphNoAnswer:

Callers 1

DummyBaseGraphClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected