pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

pyvmomi==8.0.3.0.1 errors with mypy

Open sodul opened this issue 8 months ago • 2 comments

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.

sodul avatar Jun 27 '24 06:06 sodul