openpyxl.descriptors.serialisable module

class openpyxl.descriptors.serialisable.Serialisable[source]

Bases: object

Objects can serialise to XML their attributes and child objects. The following class attributes are created by the metaclass at runtime: __attrs__ = attributes __nested__ = single-valued child treated as an attribute __elements__ = child elements

classmethod from_tree(node)[source]

Create object from XML

idx_base = 0
namespace = None
property tagname
to_tree(tagname=None, idx=None, namespace=None)[source]