Popular recipes by Ken Seehart http://code.activestate.com/recipes/users/4167995/2010-05-19T22:38:24-07:00ActiveState Code RecipesCached Property (Python)
2010-05-19T22:38:24-07:00Ken Seeharthttp://code.activestate.com/recipes/users/4167995/http://code.activestate.com/recipes/576563-cached-property/
<p style="color: grey">
Python
recipe 576563
by <a href="/recipes/users/4167995/">Ken Seehart</a>
(<a href="/recipes/tags/cache/">cache</a>, <a href="/recipes/tags/property/">property</a>).
</p>
<p>A cached property is a read-only property that is calculated on demand and automatically cached. If the value has already been calculated, the cached value is returned.</p>