We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8bd3d8 commit 84c73beCopy full SHA for 84c73be
1 file changed
OMPython/OMCSession.py
@@ -417,6 +417,12 @@ def size(self) -> int:
417
418
419
if sys.version_info < (3, 12):
420
+ warnings.warn(
421
+ message="Python < 3.12 - using a limited compatibility class as OMCPath replacement.",
422
+ category=DeprecationWarning,
423
+ stacklevel=1,
424
+ )
425
+
426
class OMCPathCompatibility(pathlib.Path):
427
428
def size(self) -> int:
0 commit comments