Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ScrapeGraphAI/Scrapegraph-ai
/ test_fetch_json
Function
test_fetch_json
tests/nodes/fetch_node_test.py:42–48 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
41
42
def
test_fetch_json():
43
node = FetchNode(
44
input=
"json"
,
45
output=[
"doc"
],
46
)
47
result = node.execute({
"json"
:
"inputs/example.json"
})
48
assert result is not None
49
50
51
def
test_fetch_xml():
Callers
nothing calls this directly
Calls
2
execute
Method · 0.95
FetchNode
Class · 0.90
Tested by
no test coverage detected