hydromt.model.components.DatasetsComponent.test_equal#
- DatasetsComponent.test_equal(other: ModelComponent) Tuple[bool, Dict[str, str]] [source]#
Test if two DatasetsComponents are equal.
- Parameters:
other (
ModelComponent
) – The other ModelComponent to compare with.- Returns:
True if the components are equal, and a dict with the associated errors per property checked.
- Return type:
tuple[bool
,dict[str
,str]]