Closed bagerard closed 8 years ago
Can you know ahead all the possible keys in **lazy_attr
? If not I'm afraid the C extension might not be the best choice (but there are two python implementations available).
No, I wanted it to be generic but I'm fine with the python implementations, it works perfectly! Thanks for the quick feedback!
@ionelmc which are the python implementations that you are talking about?
@sauravshah either lazy_object_proxy.simple.Proxy
or lazy_object_proxy.slots.Proxy
@ionelmc Thanks!
Hi, I'm trying to subclass Proxy in order to add some attribute that I could access without calling the proxied object.
Could you let me know if there is a way to achieve this? Thanks!