Skip to content

Commit 418791b

Browse files
committed
[ModelicaSystemOMC] add docstring for sendExpression()
1 parent 93b7bac commit 418791b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

OMPython/ModelicaSystem.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ def buildModel(self, variableFilter: Optional[str] = None):
560560
self._xmlparse(xml_file=xml_file)
561561

562562
def sendExpression(self, expr: str, parsed: bool = True) -> Any:
563+
"""
564+
Wrapper for OMCSession.sendExpression().
565+
"""
563566
try:
564567
retval = self._session.sendExpression(expr=expr, parsed=parsed)
565568
except OMCSessionException as ex:

0 commit comments

Comments
 (0)