Skip to content

Commit f6387b2

Browse files
committed
[ModelicaSystem] add type hint for return value of isParameterChangeable()
1 parent ff790e4 commit f6387b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ def _set_method_helper(
10821082
def isParameterChangeable(
10831083
self,
10841084
name: str,
1085-
):
1085+
) -> bool:
10861086
q = self.getQuantities(name)
10871087
if q[0]["changeable"] == "false":
10881088
return False

0 commit comments

Comments
 (0)