You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AlexWaygood
changed the title
ManagedObjectNotFound should be derived from Exception.
Vmodl: ManagedObjectNotFound should be derived from Exception.
Jun 15, 2022
AlexWaygood
changed the title
Vmodl: ManagedObjectNotFound should be derived from Exception.pyvmomi.vmodl: ManagedObjectNotFound should be derived from ExceptionJun 17, 2022
Mypy is raising errors where we use vmodl.fault.ManagedObjectNotFound where an Exception instance is expected.
Python 3.10.5
mypy==0.961
pyvmomi==7.0.3
types-pyvmomi==7.0.7
I tested in the repl and the instances are inheriting from Exception at runtime:
The pyi file is declaring it as a plain object which is false:
It should be updated with the correct inheritance:
The text was updated successfully, but these errors were encountered: