(&self, py: Python<'_>)
| 808 | impl PyToolResult { |
| 809 | #[getter] |
| 810 | fn metadata(&self, py: Python<'_>) -> PyResult<Option<PyObject>> { |
| 811 | self.metadata_json |
| 812 | .as_deref() |
| 813 | .map(|json| json_string_to_py(py, json)) |
| 814 | .transpose() |
| 815 | } |
| 816 | |
| 817 | /// Parsed `error_kind_json` as a dict. The discriminator lives on the |
| 818 | /// ``type`` key; downstream code matches on that to decide retry |
no test coverage detected