Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update usage.rst #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update usage.rst #65

wants to merge 1 commit into from

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