Implement Model Property Caching with cached_property
Open
enhancement
- Dominant language
- Python
- Stars
- 451
- Forks
- 702
- Avg merge
- 22h 59m
- Merged PRs (30d)
- 91
Description
Implement Model Property Caching with cached_property
Estimated effort: 2 points
Files: backend/apps/owasp/models/*.py, backend/apps/github/models/*.py
Replace @property with @cached_property for expensive operations that don't change during the object lifecycle:
Properties that make database queries
Properties with expensive calculations
Properties that call external APIs
**Are you going to work on implementing this?**
- [x ] Yes
- [] No
Contributor guide
Assessment
This issue has not been assessed yet.