We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a23d93e commit 7be58bcCopy full SHA for 7be58bc
1 file changed
OMPython/OMCSession.py
@@ -274,6 +274,10 @@ class OMCPath(pathlib.PurePosixPath):
274
OMCSessionZMQ session object.
275
"""
276
277
+ # TODO: need to handle PurePosixPath and PureWindowsPath
278
+ # PureOMCPath => OMCPathPosix(PureOMCPath, PurePosixPath)
279
+ # => OMCPathWindows(PureOMCPath, PureWindowsPath)
280
+
281
def __init__(self, *path, session: OMCSessionZMQ):
282
super().__init__(*path)
283
self._session = session
@@ -363,6 +367,8 @@ def __del__(self):
363
367
self.omc_zmq = None
364
368
365
369
def omcpath(self, *path) -> OMCPath:
370
371
+ # define it here based on the backend (omc_process) used?
366
372
return OMCPath(*path, session=self)
373
374
def execute(self, command: str):
0 commit comments