power-grid-model
power-grid-model copied to clipboard
[IMPROVEMENT] Refactor the python validation
In validation functions like validate_required_values, the incremental approach towards component is already reaching the limit of pylint argument. Refactoring is needed to break up the functions in this module to smaller pieces. This will not only reduce the cognitive complexity but also help make things easier for testing purposes.