Skip to content

Commit 3d8b83a

Browse files
committed
[ModelicaSystem] add type hint for return value of isParameterChangeable()
1 parent 55051d9 commit 3d8b83a

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
@@ -1223,7 +1223,7 @@ def _set_method_helper(
12231223
def isParameterChangeable(
12241224
self,
12251225
name: str,
1226-
):
1226+
) -> bool:
12271227
q = self.getQuantities(name)
12281228
if q[0]["changeable"] == "false":
12291229
return False

0 commit comments

Comments
 (0)