Home | Trees | Indices | Help |
|
---|
|
Module containting the decorators used in the package
Version: 0.2
Author: Abhinav Sarkar <abhinav@abhinavsarkar.net>
License: GNU Lesser General Public License
|
|||
property
|
|
||
property
|
|
||
function
|
|
|
|||
__package__ =
|
Imports: copy, LastfmError, AuthenticationFailedError
|
A decorator to return a property that returns the first value of list attribute corresponding to the provided list property name. For example, if the list property is top_albums, then the decorator returns a property that returns the first (top most) album.
|
A decorator to cache the atrribute of the object. When called for the first time, the value of the attribute is retrived and saved in an instance variable. Later calls return the copy of the cached value, so that the original cached value cannot be modified.
|
A decorator to check if the current user is authenticated or not. Used only on the functions that need authentication. If not authenticated then an exception is raised.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 10 11:14:34 2009 | http://epydoc.sourceforge.net |