openpyxl.descriptors.serialisable module

class openpyxl.descriptors.serialisable.Serialisable[源代码]

基类:openpyxl.descriptors._Serialisable

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)[源代码]

Create object from XML

idx_base = 0
namespace = None
property tagname
to_tree(tagname=None, idx=None, namespace=None)[源代码]