[Zope3-Users] XMLRPC Method with **kwargs

2007-12-13 Thread Jeremy Roberts
Hello zope3 users! I'm using Zope-3.3.1, and I'm trying to expose a method via xmlrpc and I'm having trouble supporting a variable number of kwargs. My use case does not know ahead of time how many arguments will be passed to the method, hence the use of **kwargs in the method signature. I

Re: [Zope3-Users] XMLRPC Method with **kwargs

2007-12-13 Thread Jeremy Roberts
Darryl Cousins wrote: Hi Jeremy, On Thu, 2007-12-13 at 19:29 -0500, Jeremy Roberts wrote: class ToolCodeXMLRPC(MethodPublisher): An XMLRPC view for ToolCode objects. def renderCode(self, **kwargs): return self.context.renderCode(kwargs) try using: def renderCode(self,

Re: [Zope3-Users] XMLRPC Method with **kwargs

2007-12-13 Thread Michael Howitz
Am 14.12.2007 um 01:29 schrieb Jeremy Roberts: Hello zope3 users! I'm using Zope-3.3.1, and I'm trying to expose a method via xmlrpc and I'm having trouble supporting a variable number of kwargs. My use case does not know ahead of time how many arguments will be passed to the method,