Skip to content

Any¤

Any ¤

Any(**attributes: str)

Bases: Element

Base class that represents the any type in the XML Schema Definition.

Parameters:

Name Type Description Default
attributes str

All keyword arguments are used as the element's attributes.

{}

from_xml classmethod ¤

from_xml(element: Element[str]) -> A

Copies an XML element into the Any subclass.

Parameters:

Name Type Description Default
element Element[str]

An XML element from an equipment register.

required

Returns:

Type Description
A

The subclass instance.