We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling the synchronous vcenter api leads to different behaviors depending on if you assign the return value of create_vsphere_client before usage.
create_vsphere_client
Calling it directly from the return value raises this excpetion:
LocalizableMessage(id='com.vmware.vapi.endpoint.method.authentication.required', default_message='Authentication required.', args=[], params=None, localized=None)], data : None, error_type : UNAUTHENTICATED}
x = create_vsphere_client( server="", username="", password="", session="", ).vcenter.vm.list()
x = create_vsphere_client( server="", username="", password="", session="", ) x.vcenter.vm.list()
Both version work without errors.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Calling the synchronous vcenter api leads to different behaviors depending on if you assign the return value of
create_vsphere_client
before usage.Calling it directly from the return value raises this excpetion:
Reproduction steps
Failure
Works
Expected behavior
Both version work without errors.
Additional context
No response
The text was updated successfully, but these errors were encountered: