File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff 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
434420class OMCSessionZMQ :
You can’t perform that action at this time.
0 commit comments