hydromt icon indicating copy to clipboard operation
hydromt copied to clipboard

Bug: definition of api attribute in model_api.py

Open hboisgon opened this issue 2 years ago • 0 comments

If a Model instance is a child of a hydromt Model subclass (example class DFlowFMModel(MeshModel)), then the api property is not fully parsed and only returns the api components of MeshModel and DFlowFMModel but not of Model.

When running the following line, only MeshModel is found: https://github.com/Deltares/hydromt/blob/c5f7ac322e44a5381bede16664e21fe8d5074d82/hydromt/models/model_api.py#L119

hboisgon avatar Dec 05 '22 06:12 hboisgon