We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68c503b commit d593729Copy full SHA for d593729
1 file changed
OMPython/OMCSession.py
@@ -71,6 +71,13 @@ class OMCSessionCmd:
71
"""
72
73
def __init__(self, session: OMSessionABC, readonly: bool = False):
74
+ warnings.warn(
75
+ message="The class OMCSessionCMD is depreciated and will be removed in future versions; "
76
+ "please use OMCSession*.sendExpression(...) instead!",
77
+ category=DeprecationWarning,
78
+ stacklevel=2,
79
+ )
80
+
81
if not isinstance(session, OMSessionABC):
82
raise OMCSessionException("Invalid OMC process definition!")
83
self._session = session
0 commit comments