Skip to content

Conversation

wwflower
Copy link

I found this very helpful in cleaning up some legacy code so I thought I'd capture the use case.
Document basic use of Proxy and using it for lazy class instantiation.

I found this very helpful in cleaning up some legacy code so I thought I'd capture the use case.
Document basic use of Proxy and using it for lazy class instantiation.
@ionelmc
Copy link
Owner

ionelmc commented May 28, 2022

There's exactly that in the https://github.com/ionelmc/python-lazy-object-proxy/blob/master/README.rst

Perhaps that page should be removed completely.

@wwflower
Copy link
Author

I think the specific information about using it for object instantiation is helpful. I messed around a bit and found I had to use a function to do the instantiation.

I'm new to github, but I would expect "usage" to tell me how to use it. The files do seem like they could be combined. I suggest you follow whatever the convention is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants