MCPcopy Create free account
hub / github.com/AI45Lab/Code / json_string_to_py

Function json_string_to_py

sdk/python/src/lib.rs:139–143  ·  view source on GitHub ↗
(py: Python<'_>, json: &str)

Source from the content-addressed store, hash-verified

137}
138
139fn json_string_to_py(py: Python<'_>, json: &str) -> PyResult<PyObject> {
140 let json_module = py.import("json")?;
141 let parsed = json_module.call_method1("loads", (json,))?;
142 Ok(parsed.into())
143}
144
145// ============================================================================
146// AgentResult

Callers 15

error_kindMethod · 0.85
metadataMethod · 0.85
runsMethod · 0.85
run_snapshotMethod · 0.85
run_eventsMethod · 0.85
current_runMethod · 0.85
active_toolsMethod · 0.85
subagent_taskMethod · 0.85
subagent_tasksMethod · 0.85
tool_definitionsMethod · 0.85
get_artifactMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected