Re: Implementation of modules in 2.2

"Jonathan Ellis" <[email protected]> Wed, 07 Mar 2007 07:00:39 -0800
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
_api was renamed to _wrapper to avoid confusion with the object passed
to handlers as "api" (which was not the same kind of object)

On Wed, 07 Mar 2007 15:27:29 +0200, "Iwan Vosloo" <[email protected]> said:
> Hi,
> 
> when using Spyce 2.2 programmatically, with, say:
> 
>  spyce.spyceStringHandler( myRequest, <and so on> )
> 
> how can one access the object passed as myRequest from within the
> implementation of a Spyce module.
> 
> Previously we had something like the snippet below (but that does not
> work with 2.2):
> 
>  class myModule(spyceModule.spyceModule):
>      def dosomething(self):
>         #code...
> 
>         myRequest = self._api.getRequest()
> 
>         #code...
> 
> Thanks
> -i
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Spyce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spyce-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV