MCPcopy Index your code
hub / github.com/InfinitiBit/graphbit / extraction_settings

Method extraction_settings

python/src/document_loader.rs:116–123  ·  view source on GitHub ↗
(&self, py: Python<'py>)

Source from the content-addressed store, hash-verified

114 /// Get extraction settings as a dictionary
115 #[getter]
116 fn extraction_settings<'py>(&self, py: Python<'py>) -> PyResult<Bound<'py, PyDict>> {
117 let dict = PyDict::new(py);
118 for (key, value) in &self.inner.extraction_settings {
119 let py_value = serde_json_to_py_object(py, value)?;
120 dict.set_item(key, py_value)?;
121 }
122 Ok(dict)
123 }
124
125 /// Set extraction settings from a dictionary
126 #[setter]

Callers

nothing calls this directly

Calls 1

serde_json_to_py_objectFunction · 0.85

Tested by

no test coverage detected