vmware / pyvmomi

VMware vSphere API Python Bindings
Apache License 2.0
2.22k stars 766 forks source link

[stubs] HttpNfcLease is missing State inner enum type #1028

Closed streambinder closed 4 months ago

streambinder commented 1 year ago

Describe the bug

Current shipped stubs do not include State enum within HttpNfcLease.

Reproduction steps

No need.

Expected behavior

Including a State enum would simplify handling and better type-check code which interacts with HttpNfcLease state.

Additional context

No response

streambinder commented 1 year ago

Hey @DanielDraganov, any update on this?

DanielDraganov commented 4 months ago

Hello. The latest major release refactored the type stubs and this issue is fixed: https://github.com/vmware/pyvmomi/commit/f544b14b22cac8383de16e75887447e80b097391