Competency¤
Competency
dataclass
¤
Represents the competency element in an equipment register.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
worker
|
str
|
The competent person who executed the technical procedure to accomplish the performance check. |
required |
checker
|
str
|
The competent person who reviewed the work done by the |
required |
technical_procedure
|
str
|
The technical procedure that was executed to accomplish the performance check. |
required |
checker
instance-attribute
¤
checker: str
The competent person who reviewed the work done by the worker
.
technical_procedure
instance-attribute
¤
technical_procedure: str
The technical procedure that was executed to accomplish the performance check.
worker
instance-attribute
¤
worker: str
The competent person who executed the technical procedure to accomplish the performance check.
from_xml
classmethod
¤
from_xml(element: Element[str]) -> Competency
Convert an XML element into a Competency instance.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
element
|
Element[str]
|
A competency XML element from an equipment register. |
required |
Returns:
Type | Description |
---|---|
Competency
|
The Competency instance. |
to_xml ¤
Convert the Competency class into an XML element.
Returns:
Type | Description |
---|---|
Element[str]
|
The Competency as an XML element. |