We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22b7ca1 commit e64508dCopy full SHA for e64508d
1 file changed
OMPython/ModelicaSystem.py
@@ -151,11 +151,11 @@ def _set_compatibility_helper(
151
args: Any,
152
kwargs: dict[str, Any],
153
) -> dict[str, Any]:
154
- input_args = None
+ input_args = []
155
if len(args) == 1:
156
- input_args = args[0]
157
- if input_args is None and pkey in kwargs:
158
- input_args = kwargs[pkey]
+ input_args.append(args[0])
+ elif pkey in kwargs:
+ input_args.append(kwargs[pkey])
159
160
# the code below is based on _prepare_input_data2()
161
0 commit comments