I posted this in the TurboGears group, but thought it might be usefull
here:

> Once you have @expose()'d a method in controllers.py, any call to that
> method returns a string, rather than the actual python dict(). Is there
> a way to bypass this to make controller methods extensible/callable by
> other controller methods?

I don't believe this feature exists. Could we implement it? Should we
have a tg_format="python" or some such, or should the code be able to
detect whether it is being called by cherrypy?

Perhaps cherrypy's interaction with methods could be made such that the
calling of the exposed version is explicit, rather than implicit.


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to