To see what was added in the gh-pages branch compared to master in linguist repo:
https://github.com/octocat/linguist/compare/master...gh-pages
To see what was added in the gh-pages branch compared to master in linguist repo:
https://github.com/octocat/linguist/compare/master...gh-pages
class SmartGet: | |
"""Handles dynamic attribute computation and caching using '_get_*' methods. | |
This enables lazy evaluation where attributes are: | |
1. Computed only when first accessed (via specially named '_get_attr' methods) | |
2. Automatically cached for subsequent accesses | |
3. Transparent to the caller (used like normal attributes) | |
Typical usage: | |
class DataLoader(LazyAttributes): |