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.