Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TypeError: 'Proxy' object is not callable #95

@quajak

Description

@quajak

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions