Skip to content

Commit ad7d54f

Browse files
committed
[OMCPathCompatibility] mypy on github ...
1 parent 6328a17 commit ad7d54f

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
@@ -418,7 +418,7 @@ def size(self) -> int:
418418

419419
if sys.version_info < (3, 12):
420420

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

0 commit comments

Comments
 (0)