Skip to content

Commit c498498

Browse files
committed
[ModelicaSystem] add type hint for return value of isParameterChangeable()
1 parent 2c87f4e commit c498498

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
@@ -1098,7 +1098,7 @@ def _set_method_helper(
10981098
def isParameterChangeable(
10991099
self,
11001100
name: str,
1101-
):
1101+
) -> bool:
11021102
q = self.getQuantities(name)
11031103
if q[0]["changeable"] == "false":
11041104
return False

0 commit comments

Comments
 (0)