Re: metadata and decorators are coming your way (pyro 4.27)

Irmen de Jong <[email protected]> Thu, 17 Jul 2014 20:07:57 +0200
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 13-7-2014 21:36, Irmen de Jong wrote:
> One thing that still needs work is direct attribute access (via @property on the server
> object). If you try this on a proxy, it will still just return a RemoteMethod instance
> and is useless at this time.

This is no longer true, remote attribute access is available now as well.
(you need exposed properties on your server object for it to work, so for instance

	@Pyro4.expose
	@property
	def somevalue(self):
		return self._somevalue



Irmen


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds