# openpyxl.descriptors.nested module

Generic serialisable classes

class openpyxl.descriptors.nested.EmptyTag(*args, **kw)

  Bases: `Nested`, `Bool`

  Boolean if a tag exists or not.

  from_tree(node)
  to_tree(tagname=None, value=None, namespace=None)

class openpyxl.descriptors.nested.Nested(name=None, **kw)

  Bases: `Descriptor`

  attribute = 'val'
  from_tree(node)
  nested = True
  to_tree(tagname=None, value=None, namespace=None)

class openpyxl.descriptors.nested.NestedBool(*args, **kw)

  Bases: `NestedValue`, `Bool`

  from_tree(node)

class openpyxl.descriptors.nested.NestedFloat(*args, **kw)

  Bases: `NestedValue`, `Float`

class openpyxl.descriptors.nested.NestedInteger(*args, **kw)

  Bases: `NestedValue`, `Integer`

class openpyxl.descriptors.nested.NestedMinMax(**kw)

  Bases: `Nested`, `MinMax`

class openpyxl.descriptors.nested.NestedNoneSet(name=None, **kw)

  Bases: `Nested`, `NoneSet`

class openpyxl.descriptors.nested.NestedSet(name=None, **kw)

  Bases: `Nested`, `Set`

class openpyxl.descriptors.nested.NestedString(*args, **kw)

  Bases: `NestedValue`, `String`

class openpyxl.descriptors.nested.NestedText(*args, **kw)

  Bases: `NestedValue`

  Represents any nested tag with the value as the contents of the tag

  from_tree(node)
  to_tree(tagname=None, value=None, namespace=None)

class openpyxl.descriptors.nested.NestedValue(*args, **kw)

  Bases: `Nested`, `Convertible`

  Nested tag storing the value on the ‘val’ attribute