On Tue, Dec 14, 2010 at 5:36 PM, Tres Seaver <[email protected]> wrote: > At the moment, the '@rpc' decorator is twinned by the '@document' > decorator I added the other day: each implements one of the "style" > options of the same name for SOAP method result marshalling. > > If you mean to rename '@rpc' -> '@soap', then it likely needs to absorb > the functionality currently in '@document' as well, perhaps through an > additional '_style' parameter. > > I think I would leave the two as they stand, myself.
A decorator called "document" is just too generic, non-obvious to anyone who might not understand about the different encoding styles. A "style" keyword parameter to a "soap" decorator seems a lot more clear to me. _______________________________________________ Soap mailing list [email protected] http://mail.python.org/mailman/listinfo/soap
