Package turbogears :: Package widgets :: Module datagrid :: Class DataGrid :: Class attrwrapper

Class attrwrapper

source code

Helper class that returns an object's attribute when called.

This allows to access 'dynamic' attributes (properties) as well as simple static ones, and also allows nested access.

Instance Methods
 
__init__(self, name) source code
 
__call__(self, obj) source code