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 @@ -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
431417class OMCSessionZMQ :
You can’t perform that action at this time.
0 commit comments