hydromt.model.components.ConfigComponent.test_equal#

ConfigComponent.test_equal(other: ModelComponent) Tuple[bool, Dict[str, str]][source]#

Test if two components are equal.

Parameters:

other (ModelComponent) – The component to compare against.

Returns:

True if the components are equal, and a dict with the associated errors per property checked.

Return type:

tuple[bool, Dict[str, str]]