[Soap-Python] AnyAsDict(String)
Burak Arslan
burak.arslan at arskom.com.tr
Wed Oct 13 14:51:00 CEST 2010
On 10/13/10 03:23, mukkera harsha wrote:
> Hi,
>
> I am getting the following errror :
>
> Traceback (most recent call last):
> File "workflowexecutionservice.py", line 24, in
>
> |class Subworkflow(ClassSerializer):
> |
>
> File "workflowexecutionservice.py", line 26, in Subworkflow
>
> |files = AnyAsDict(String)
> |
>
> TypeError: *new*() takes exactly 1 argument (2 given)
>
> -------------
>
> I attached is the source code. Please help me to get through this problem.
>
>
> _______________________________________________
> Soap mailing list
> Soap at python.org
> http://mail.python.org/mailman/listinfo/soap
hi,
AnyAsDict(String) does not make sense. just use AnyAsDict.
You also should return a dictionary whose values are inside iterables.
not like:
{'return_key': 'return value'}
but like:
{'return_key': ['return_value']}
hope that helps
burak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/soap/attachments/20101013/44b3aadd/attachment.html>
More information about the Soap
mailing list