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

cached_property for file data #113

Open
federicazanca opened this issue Apr 19, 2024 · 0 comments
Open

cached_property for file data #113

federicazanca opened this issue Apr 19, 2024 · 0 comments

Comments

@federicazanca
Copy link
Collaborator

          One other minor thing: depending on how big the file is and whether the file is liable to change, you may want to make this or `read_yaml` a [`cached_property`](https://docs.python.org/3/library/functools.html#functools.cached_property) to reduce file-opens, but not important.

Originally posted by @oerc0122 in #104 (comment)

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

No branches or pull requests

1 participant