cosapp.utils.validate

Functions

validate(system)

Check the validity of the provided System.

cosapp.utils.validate.validate(system: System) tuple[dict[str, str], dict[str, str]][source]

Check the validity of the provided System.

Parameters:

[cosapp.base.System] (- model) – The system to be validated

Returns:

Warning and error dictionaries; key is the variable name and value the error reason.

Return type:

tuple[dict[str, str], dict[str, str]]