[Zope3-Users] XMLRPC Method with **kwargs

Darryl Cousins darryl at darrylcousins.net.nz
Thu Dec 13 21:23:26 EST 2007


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, **kwargs):
      return self.context.renderCode(**kwargs) # !!

Regards,
Darryl



More information about the Zope3-users mailing list