class xsdata.formats.dataclass.models.generics.DerivedElement(qname, value, type=None)[source]#

Generic model wrapper for type substituted elements.

Example: eg. <b xsi:type=”a”>…</b>

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

  • value (TypeVar(T, bound= object)) – The wrapped value

  • type (Optional[str]) – The real xsi:type


Return self==value.

__hash__ = None#
classmethod __init_subclass__(*args, **kwargs)#

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.