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

Class DummyGraph

tests/test_omni_search_graph.py:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7# Create a dummy graph class to simulate graph execution
8class DummyGraph:
9 def __init__(self, final_state):
10 self.final_state = final_state
11
12 def execute(self, inputs):
13 # Return final_state and dummy execution info
14 return self.final_state, {"debug": True}
15
16
17# Dummy schema for testing purposes

Callers 2

test_run_with_answerMethod · 0.70

Calls

no outgoing calls

Tested by 2

test_run_with_answerMethod · 0.56