Skip to content

Commit c23e57f

Browse files
committed
[OMCPath] remove TODO entries
1 parent 99893cd commit c23e57f

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
@@ -277,11 +277,6 @@ class OMCPath(pathlib.PurePosixPath):
277277
OMCSessionZMQ session object.
278278
"""
279279

280-
# TODO: need to handle PurePosixPath and PureWindowsPath
281-
# PureOMCPath => OMCPathPosix(PureOMCPath, PurePosixPath)
282-
# => OMCPathWindows(PureOMCPath, PureWindowsPath)
283-
# TODO: only working for Python 3.12+ (not working for 3.10!; 3.11?)
284-
285280
def __init__(self, *path, session: OMCSessionZMQ):
286281
super().__init__(*path)
287282
self._session = session
@@ -420,15 +415,6 @@ def size(self) -> int:
420415

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

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

433419

434420
class OMCSessionZMQ:

0 commit comments

Comments
 (0)