Skip to content

Commit 7be58bc

Browse files
committed
[OMCPath] TODO items
1 parent a23d93e commit 7be58bc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

OMPython/OMCSession.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ class OMCPath(pathlib.PurePosixPath):
274274
OMCSessionZMQ session object.
275275
"""
276276

277+
# TODO: need to handle PurePosixPath and PureWindowsPath
278+
# PureOMCPath => OMCPathPosix(PureOMCPath, PurePosixPath)
279+
# => OMCPathWindows(PureOMCPath, PureWindowsPath)
280+
277281
def __init__(self, *path, session: OMCSessionZMQ):
278282
super().__init__(*path)
279283
self._session = session
@@ -363,6 +367,8 @@ def __del__(self):
363367
self.omc_zmq = None
364368

365369
def omcpath(self, *path) -> OMCPath:
370+
# TODO: need to handle PurePosixPath and PureWindowsPath
371+
# define it here based on the backend (omc_process) used?
366372
return OMCPath(*path, session=self)
367373

368374
def execute(self, command: str):

0 commit comments

Comments
 (0)