suds-community / suds

Suds is a lightweight SOAP python client for consuming Web Services. A community fork of the jurko fork.
https://suds.readthedocs.io/
GNU Lesser General Public License v3.0
173 stars 56 forks source link

Initialize an object without any attribute #85

Closed sunyingji closed 2 years ago

sunyingji commented 2 years ago

My suds version is 0.6.

[root@compute-c05c9c49-c21986-compute-0 suds]# pip list |grep suds suds-jurko 0.6

I have an VirtualMachineBootOptionsBootableDevice definition like below. There is not any attribute defined in it.

and a BootOptions object defined as below

When I want to create BootOptions object with a BootableDevice in bootOrder, I always fail to do that. Each time client_factory.create('ns0:VirtualMachineBootOptionsBootableDevice') returns an for me.

bootOptions = (VirtualMachineBootOptions){ bootDelay = 0 enterBIOSSetup = False efiSecureBootEnabled = False bootRetryEnabled = False bootRetryDelay = 20000 bootOrder[] =

, networkBootProtocol = "ipv4" } However I need a BootableDevice to put in the array of BootableDevice. My expectation is as below. --> bootOptions = (vim.vm.BootOptions) { --> bootDelay = 0, --> enterBIOSSetup = false, --> efiSecureBootEnabled = false, --> bootRetryEnabled = false, --> bootRetryDelay = 10000, --> bootOrder = (vim.vm.BootOptions.BootableDevice) [ --> (vim.vm.BootOptions.BootableDevice) { --> } --> ], --> networkBootProtocol = "" --> }, Would you please help me on this issue ? Yingji
phillbaker commented 2 years ago

My suds version is 0.6. [root@compute-c05c9c49-c21986-compute-0 suds]# pip list |grep suds suds-jurko 0.6

suds-jurko is a different and no longer maintained project. Issues on this repository are for reporting bugs and feature requests for this provider, not providing support for unique environments. In order to investigate this, a reproducible case may needs to be provided, if that can't be provided, we'll have to close this issue to focus on widely impacting issues.