[Soap-Python] soaplib - python help

Burak Arslan burak.arslan at arskom.com.tr
Sat Oct 16 15:11:20 CEST 2010


 On 10/16/10 14:50, Piet van Oostrum wrote:
> On 10/15/10 21:18, mukkera harsha wrote:
>  >
>  > I am getting the following error.
>  >
>  > Error ::
>  > ----------
>  >
>  >     for k, v in files.iteritems(): AttributeError: type object
>  > 'AnyAsDict' has no attribute 'iteritems'
>  >
>  > Code ::
>  > ------------
>  >
>  > class Subworkflow(ClassSerializer):
>  >         subworkflowid = String
>  >         files = AnyAsDict
>
> At least these two line should probably be:
>          subworkflowid = String()
>          files = AnyAsDict()
>

no, those two lines are actually correct.

you can do AnyAsDict(min_occurs=3) though.

burak.




More information about the Soap mailing list