Skip to content

Commit 36202ac

Browse files
committed
[ModelicaSystemCmd] fix mypy warning in ModelicaSystemDoE on usage of args_set()
1 parent 10b5406 commit 36202ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OMPython/ModelicaSystem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, runpath: pathlib.Path, modelname: str, timeout: Optional[floa
125125
self._args: dict[str, str | None] = {}
126126
self._arg_override: dict[str, str] = {}
127127

128-
def arg_set(self, key: str, val: Optional[str | dict] = None) -> None:
128+
def arg_set(self, key: str, val: Optional[str | dict[str, Any]] = None) -> None:
129129
"""
130130
Set one argument for the executable model.
131131
@@ -168,7 +168,7 @@ def arg_get(self, key: str) -> Optional[str | dict]:
168168

169169
return None
170170

171-
def args_set(self, args: dict[str, Optional[str | dict[str, str]]]) -> None:
171+
def args_set(self, args: dict[str, Optional[str | dict[str, Any]]]) -> None:
172172
"""
173173
Define arguments for the model executable.
174174

0 commit comments

Comments
 (0)