Skip to content

Commit 36eb1e4

Browse files
committed
[OMCPath] update docstring
1 parent 07eb621 commit 36eb1e4

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
@@ -273,8 +273,11 @@ def getClassNames(self, className=None, recursive=False, qualified=False, sort=F
273273

274274
class OMCPathReal(pathlib.PurePosixPath):
275275
"""
276-
Implementation of a basic Path object which uses OMC as backend. The connection to OMC is provided via a
276+
Implementation of a basic (PurePosix)Path object which uses OMC as backend. The connection to OMC is provided via a
277277
OMCSessionZMQ session object.
278+
279+
PurePosixPath is selected to cover usage of OMC in docker or via WSL. Usage of specialised function could result in
280+
errors as well as usage on a Windows system due to slightly different definitions (PureWindowsPath).
278281
"""
279282

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

0 commit comments

Comments
 (0)