We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 100e119 commit 06ec3e8Copy full SHA for 06ec3e8
1 file changed
OMPython/OMCSession.py
@@ -643,7 +643,9 @@ def _getuid() -> int:
643
On Windows, volumes are mapped with all files are chmod ugo+rwx,
644
so uid does not matter as long as it is not the root user.
645
"""
646
- return 1000 if sys.platform == 'win32' else os.getuid()
+ # mypy complained about os.getuid() not being available on
647
+ # Windows, hence the type: ignore comment.
648
+ return 1000 if sys.platform == 'win32' else os.getuid() # type: ignore
649
650
def get_server_address(self) -> Optional[str]:
651
if self._dockerNetwork == "separate" and isinstance(self._dockerCid, str):
0 commit comments