[Soap-Python] How to create ComplexModel data?

Burak Arslan burak.arslan at arskom.com.tr
Fri Apr 27 07:47:51 CEST 2012


On 26/04/12 20:19, KenWhitesell at comcast.net wrote:
>> >  Does it help?
>> >
> Absolutely! Thank you. I was making it a lot harder than it needed to be.
> (I was trying to do things like create an __init__ method - among other
> things that I'm too embarrassed to admit to in a public forum.:)

No worries :) Fyi, here[1]'s the default ComplexModel ctor. It only 
accepts kwargs. You HAVE to call it if you override it, otherwise you'll 
get nasty surprises because of uninitialized variables.

Best,
Burak

[1]: 
https://github.com/arskom/rpclib/blob/e15fcf7a0783451fb358454ec474f3c7f99286ee/src/rpclib/model/complex.py#L155


More information about the Soap mailing list