Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anthropics/financial-services
/ _load
Function
_load
scripts/validate.py:18–23 ·
view source on GitHub ↗
(path: Path)
Source
from the content-addressed store, hash-verified
16
17
18
def
_load(path: Path):
19
text = path.read_text()
20
if
path.suffix in (
".yaml"
,
".yml"
):
21
import
yaml
22
return
yaml.safe_load(text)
23
return
json.loads(text)
24
25
26
def
main() -> int:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected