Skip to content

Commit 36730bf

Browse files
committed
[ModelicaSystemCmd] fix mypy warning in ModelicaSystemDoE on usage of args_set()
1 parent 42f571a commit 36730bf

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
@@ -137,7 +137,7 @@ def __init__(self, runpath: pathlib.Path, modelname: str, timeout: Optional[int]
137137
self._args: dict[str, str | None] = {}
138138
self._arg_override: dict[str, str] = {}
139139

140-
def arg_set(self, key: str, val: Optional[str | dict] = None) -> None:
140+
def arg_set(self, key: str, val: Optional[str | dict[str, Any]] = None) -> None:
141141
"""
142142
Set one argument for the executable model.
143143
@@ -180,7 +180,7 @@ def arg_get(self, key: str) -> Optional[str | dict]:
180180

181181
return None
182182

183-
def args_set(self, args: dict[str, Optional[str | dict[str, str]]]) -> None:
183+
def args_set(self, args: dict[str, Optional[str | dict[str, Any]]]) -> None:
184184
"""
185185
Define arguments for the model executable.
186186

0 commit comments

Comments
 (0)