Base Record#
The base BaseRecord class is defined as follows:
class BaseRecord(object):
def __init__(self,
value: ValueType,
units: Optional[str] = None,
original_value: ValueType = None):
self.value: ValueType = value
self.units: Optional[str] = units
self.original_value: ValueType = original_value
This class stores the following information:
A representative value for the record.
The units of the value (if applicable).
The original input value before any transformation or validation.
This structure allows a parameter to clearly distinguish between its processed (or valid) value and the original input, while also storing associated units if necessary.