[BangPypers] Python coaching classes

mukkera harsha harsha.mukkera at gmail.com
Wed Oct 13 17:32:36 CEST 2010


Hi,

I need to get the xml file and convert the data into dictionary. So, In
order to specify the xml file , I need to pass the paramater.
The attached is the code I am working on, Can you please let me know if I
need to make any other changes in the code.

On Wed, Oct 13, 2010 at 11:23 AM, vijay <vnbang2003 at yahoo.com> wrote:

> What i can guess is AnyAsDict() constructor does not need any argument but
> you are passing one. self will be default  argument it will have.
> You context code can help to get exact answer.
>
> With Regards
> Vijay
>
>
> --- On Wed, 13/10/10, mukkera harsha <harsha.mukkera at gmail.com> wrote:
>
> From: mukkera harsha <harsha.mukkera at gmail.com>
> Subject: Re: [BangPypers] Python coaching classes
> To: "Bangalore Python Users Group - India" <bangpypers at python.org>
> Date: Wednesday, 13 October, 2010, 6:13 PM
>
> 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 am getting the following error. Please help me.
>
> On Wed, Oct 13, 2010 at 2:05 AM, Kenneth Gonsalves <lawgon at au-kbc.org
> >wrote:
>
> > On Wed, 2010-10-13 at 11:32 +0530, jayasimha makineni wrote:
> > > on "there will be soon"
> >
> > it is a secret - all will be revealed at an appropriate time.
> > --
> > regards
> > Kenneth Gonsalves
> >
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
>
>
>
> --
> Harshavardhan Reddy Mukkera.
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>



-- 
Harshavardhan Reddy Mukkera.


More information about the BangPypers mailing list