SpecifiedRequirements¤
SpecifiedRequirements
(Any)
¤
SpecifiedRequirements(**attributes: str)
Verification that equipment conforms with specified requirements before being placed or returned into service.
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. |
{}
|
Source code in src/msl/equipment/schema.py
193 194 195 196 197 198 199 | |
from_xml
classmethod
¤
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. |
Source code in src/msl/equipment/schema.py
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | |