Skip to content

Commit 794d871

Browse files
committed
[OMCPath] update docstring
1 parent 70cb446 commit 794d871

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

OMPython/OMCSession.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,11 @@ def getClassNames(self, className=None, recursive=False, qualified=False, sort=F
276276

277277
class OMCPathReal(pathlib.PurePosixPath):
278278
"""
279-
Implementation of a basic Path object which uses OMC as backend. The connection to OMC is provided via a
279+
Implementation of a basic (PurePosix)Path object which uses OMC as backend. The connection to OMC is provided via a
280280
OMCSessionZMQ session object.
281+
282+
PurePosixPath is selected to cover usage of OMC in docker or via WSL. Usage of specialised function could result in
283+
errors as well as usage on a Windows system due to slightly different definitions (PureWindowsPath).
281284
"""
282285

283286
def __init__(self, *path, session: OMCSessionZMQ) -> None:

0 commit comments

Comments
 (0)