diff --git a/hydrolib/tools/ext_old_to_new/main_converter.py b/hydrolib/tools/ext_old_to_new/main_converter.py index f3425f5f9..a9a761c36 100644 --- a/hydrolib/tools/ext_old_to_new/main_converter.py +++ b/hydrolib/tools/ext_old_to_new/main_converter.py @@ -5,7 +5,7 @@ from typing import Tuple, Union from hydrolib.core import __version__ -from hydrolib.core.basemodel import FileModel, PathOrStr +from hydrolib.core.basemodel import PathOrStr from hydrolib.core.dflowfm.ext.models import Boundary, ExtModel, Lateral, Meteo from hydrolib.core.dflowfm.extold.models import ExtOldModel from hydrolib.core.dflowfm.inifield.models import ( @@ -53,7 +53,7 @@ def ext_old_to_new( inifieldfile: PathOrStr = None, structurefile: PathOrStr = None, backup: bool = False, -) -> Union[Tuple[ExtOldModel, FileModel, FileModel, FileModel], None]: +) -> Union[Tuple[ExtOldModel, ExtModel, IniFieldModel, StructureModel], None]: """ Convert old external forcing file to new format files. When the output files are existing, output will be appended to them.