DerivedElement

class xsdata.formats.dataclass.models.generics.DerivedElement(qname, value, substituted=False)[source]

Generic model wrapper for inline declared elements, eg. <b xsi:type=”a”>…</b>

Parameters
  • qname (str) – The element’s qualified name

  • value (~T) – The wrapped value

  • substituted (bool) – Specify whether the value is a type substitution