Data Validator
Warning
For performance reasons, the input/update data is not automatically validated. The main validation functions and classes can be included from power_grid_model.validation
.
Two helper type definitions are used throughout the validation functions, InputData
and UpdateData
. They are not
special types or classes, but merely type hinting aliases:
InputData = Dict[str, np.ndarray]
UpdateData = Dict[str, Union[np.ndarray, Dict[str, np.ndarray]]]
See also
Check for an example of function applications.