Function get_arrow_schema_map

Source
pub fn get_arrow_schema_map(
    py: Python<'_>,
    cls: &Bound<'_, PyType>,
) -> PyResult<Py<PyAny>>
Expand description

Returns a mapping from field names to Arrow data types for the given Rust data class.

§Errors

Returns a PyErr if the class name is not recognized or schema extraction fails.