Skip to main content

margin_model_any_to_pyobject

Function margin_model_any_to_pyobject 

Source
pub fn margin_model_any_to_pyobject(
    py: Python<'_>,
    model: &MarginModelAny,
) -> PyResult<Py<PyAny>>
Expand description

Converts a margin model into its Python object without copying Python state.

ยงErrors

Returns an error if a built-in model cannot be converted to Python.