Re: WSDL?

2006-11-03 Thread WakeBdr
XMLRPC and SOAP are the two I'm working with right now. tobiah wrote: > Is WSDL the right answer for in house communication > between programs written in different languages, or > is it more for publishing interfaces for use by parties > outside your own company? > > What else is available for sh

Re: Can I use decorators to manipulate return type or create methods?

2006-10-20 Thread WakeBdr
data') File "test.py", line 11, in toXML return self._toXML(function(self, *args, **kwargs)) TypeError: __new__() takes exactly 4 arguments (3 given) Diez B. Roggisch wrote: > WakeBdr schrieb: > > Diez, > > I get what that accomplishes now, but I'm having

Re: Can I use decorators to manipulate return type or create methods?

2006-10-19 Thread WakeBdr
g" the child method, "marking" both, but nothing seems to work. WakeBdr wrote: > Diez, > What does the function._marked accomplish? > > Diez B. Roggisch wrote: > > WakeBdr schrieb: > > > I'm writing a class that will query a database for some dat

Re: Can I use decorators to manipulate return type or create methods?

2006-10-19 Thread WakeBdr
Diez, What does the function._marked accomplish? Diez B. Roggisch wrote: > WakeBdr schrieb: > > I'm writing a class that will query a database for some data and return > > the result to the caller. I need to be able to return the result of > > the query in several

Can I use decorators to manipulate return type or create methods?

2006-10-19 Thread WakeBdr
I'm writing a class that will query a database for some data and return the result to the caller. I need to be able to return the result of the query in several different ways: list, xml, dictionary, etc. I was wondering if I can use decorators to accomplish this. For instance, I have the follow