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

Function fake_invoke_timeout

tests/test_generate_answer_node.py:196–197  ·  view source on GitHub ↗
(chain, inputs, timeout)

Source from the content-addressed store, hash-verified

194 state = {"dummy_input": "What is the answer?", "doc": ["Only one chunk text"]}
195
196 def fake_invoke_timeout(chain, inputs, timeout):
197 raise Timeout("Simulated timeout error")
198
199 dummy_node_with_pipe.invoke_with_timeout = fake_invoke_timeout
200 output_state = dummy_node_with_pipe.execute(state)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected