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. |
Source code in src/msl/equipment/schema.py
774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 |
|
to_xml
¤
Convert the Competency class into an XML element.
Returns:
Type | Description |
---|---|
Element[str]
|
The Competency as an XML element. |
Source code in src/msl/equipment/schema.py
791 792 793 794 795 796 797 798 799 800 801 802 803 804 |
|