Skip to content

Commit 9dc161b

Browse files
committed
[OMCPathCompatibility] mypy on github ...
1 parent 8f38def commit 9dc161b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def size(self) -> int:
415415

416416
if sys.version_info < (3, 12):
417417

418-
class OMCPathCompatibility:
418+
class OMCPathCompatibility(pathlib.Path):
419419
"""
420420
Compatibility class for OMCPath in Python < 3.12. This allows to run all code which uses OMCPath (mainly
421421
ModelicaSystem) on these Python versions. There is one remaining limitation: only OMCProcessLocal will work as

0 commit comments

Comments
 (0)