def _update_cell(cell: Cell, data: BaseXLSXCellData) -> None: """Extract properties from the cell_styles and apply them to the cell""" for name, value in vars(data).items(): cell.__setattr__(name, value)