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

Remove args/kwargs from @_store_on_self(func) #726

Merged
merged 1 commit into from
Jan 11, 2024
Merged

Conversation

brainix
Copy link
Owner

@brainix brainix commented Jan 11, 2024

This brings our custom @_store_on_self(func) decorator's behavior closer to Python's built-in @functools.cached_property(func) decorator.

https://docs.python.org/3/library/functools.html#functools.cached_property

This brings our custom @_store_on_self(func) decorator's behavior closer
to Python's built-in @functools.cached_property(func) decorator.

https://docs.python.org/3/library/functools.html#functools.cached_property
@brainix
Copy link
Owner Author

brainix commented Jan 11, 2024

✔️

@brainix brainix merged commit 72ca2bc into master Jan 11, 2024
5 checks passed
@brainix brainix deleted the store-on-self branch January 11, 2024 10:47
@brainix brainix self-assigned this Jan 11, 2024
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.

1 participant