Skip to content

AcceptanceCriteria¤

AcceptanceCriteria ¤

AcceptanceCriteria(**attributes: str)

Bases: Any

Represents the acceptance criteria in a calibration report.

Since this class is currently represented by the any type in the XML Schema Definition, it is simply a subclass of Element. It may be updated to be a more specific class at a later date.

Parameters:

Name Type Description Default
attributes str

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

{}

tag class-attribute instance-attribute ¤

tag: str = 'acceptanceCriteria'

The element's name.

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.