(py: Python<'_>, json: &str)
| 137 | } |
| 138 | |
| 139 | fn 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 |
no outgoing calls
no test coverage detected