Skip to main content

enforce_python_limits

Function enforce_python_limits 

Source
pub fn enforce_python_limits(wb: &mut Workbook) -> Vec<String>
Expand description

A file is somebody else’s work: a Python cell whose code doesn’t fit in Excel’s 8,192-character formula keeps only its cached value, and a kept result that is not a well-formed array of at most crate::model::python::MAX_RESULT_CELLS cells is dropped (the cell keeps its value). Either way the values the cell spilled stay as plain values (crate::model::Sheet::settle_spill). Returns the warnings.