Implementation of modules in 2.2
Iwan Vosloo <[email protected]> Wed, 07 Mar 2007 15:27:29 +0200
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
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