Skip to content

Commit e33537a

Browse files
committed
[ModelicaSystemCmd] update definition of arg_set() - use Optional[]
1 parent ca12188 commit e33537a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def __init__(self, runpath: pathlib.Path, modelname: str, timeout: Optional[int]
130130
self._timeout = timeout
131131
self._args = {}
132132

133-
def arg_set(self, key: str, val: str | dict = None) -> None:
133+
def arg_set(self, key: str, val: Optional[str | dict] = None) -> None:
134134
"""
135135
Set one argument for the executable model.
136136

0 commit comments

Comments
 (0)