Skip to content

Accessing ObjectProxy __dict__ #252

@dg-pb

Description

@dg-pb

After p = ObjectProxy(obj) has been constructed, is there any way to retrieve p.__dict__ of the ProxyObject and not the __wrapped__?

I have found that I can set attributes to p and not __wrapped__ if name.startswith('_self_'), but it would be more convenient just to have access to __dict__ itself.

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