-
Notifications
You must be signed in to change notification settings - Fork 21
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
Documentation minor fixes #197
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #197 +/- ##
=======================================
Coverage 81.79% 81.79%
=======================================
Files 9 9
Lines 1494 1494
Branches 256 256
=======================================
Hits 1222 1222
Misses 226 226
Partials 46 46 ☔ View full report in Codecov by Sentry. |
@githubalexliu this is great, thank you! I'm not an expert in |
Interesting idea @githubalexliu ; I don't know whether or not that would work (but it might). I was hoping there might be a way to accomplish this just in the docs settings (without changing the underlying methods) but there may not be. The reference I used when implementing the cached class properties was https://rednafi.com/python/lru_cache_on_methods/ but it doesn't speak to using a decorated property. If you're interested in trying it, I would just want to see some timings (using I also understand if this is more than you wanted to take on in this PR. I'm happy to merge this and save the further improvement for something separate; just let me know. |
Thanks for the insights and the reference! For now, I think it might be best to go ahead and merge this PR as-is. We can explore the caching and documentation improvements in a separate issue. |
Summary
Changes:
Checklist
ruff
. (For guidance in fixing rule violates, see rule list)mypy
.Tip: Install
pre-commit
hooks to auto-check types and linting before every commit: