pyvmomi
pyvmomi copied to clipboard
pyvmomi==8.0.3.0.1 errors with mypy
Describe the bug
Run mypy
on code using pyvmomi, mypy will throw an error:
AssertionError: Cannot find component 'ByTime' for 'pyVmomi.vim.event.EventFilterSpec.ByTime'
Reproduction steps
pip install pyvmomi==8.0.3.0.1 types-pyvmomi==8.0.0.6 mypy==1.10.1
Call mypy on code using pyvmomi:
mypy
To fix:
pip install pyvmomi==8.0.2.0.1
Expected behavior
No errors.
Additional context
Relates to #862 and #1048.