Pyro5
Pyro5 copied to clipboard
TypeError: 'Proxy' object is not callable
I want to Proxy an object using Pyro5, which has a __call__
method defined. Therefore, I can do object()
but when I then use Pyro5 and have
proxy_object = Pyro5.api.Proxy(uri_from_ns)
proxy_object._pryoBind()
proxy_object()
the code crashes with the error message TypeError: 'Proxy' object is not callable
Is it possible to use Pyro5 with callable objects?