Skip to content

Commit 6608b29

Browse files
committed
[OMCPath] remove TODO entries
1 parent d9a0286 commit 6608b29

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

OMPython/OMCSession.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,6 @@ 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-
# TODO: only working for Python 3.12+ (not working for 3.10!; 3.11?)
281-
282277
def __init__(self, *path, session: OMCSessionZMQ):
283278
super().__init__(*path)
284279
self._session = session
@@ -417,15 +412,6 @@ def size(self) -> int:
417412

418413
raise OMCSessionException(f"Error reading file size for path {self.as_posix()}!")
419414

420-
# TODO: implement needed methods from pathlib._abc.PathBase:
421-
# OK - is_dir()
422-
# OK - is_file()
423-
# OK - read_text() + binary()?
424-
# OK - write_text() + binary()?
425-
# OK - unlink()
426-
# resolve()
427-
# ... more ...
428-
# ??? test if local (write OMC => READ local and the other way) and use shortcuts ???
429415

430416

431417
class OMCSessionZMQ:

0 commit comments

Comments
 (0)