Re: metadata and decorators are coming your way
Irmen de Jong <[email protected]> Wed, 09 Jul 2014 20:40:56 +0200
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
Missed some things. On 9-7-2014 20:32, Irmen de Jong wrote: > - for now, leave the current mode unchanged: everything exposed. > - add @export decorator and new config item to switch to new mode (REQUIRE_EXPOSE?) > - in the backwards compatible mode @export won't do anything, because everything is > already exposed anyway Typo's; I meant @expose, not @export > - in new mode you'll have to add @expose to the methods otherwise they're unexposed. ...and in the future the new mode may become the default, so we can get rid of REQUIRE_EXPOSE. (But that would be a backwards incompatible change) To make things easier you could perhaps @expose on a class as well to mark every member of it exposed... saves the hassle of decorating every individual member. Irmen ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft