Ejemplo n.º 1
0
 def _getters(cls):
     # In addition to plugin-provided computed fields, also expose
     # the album's directory as `path`.
     getters = plugins.album_field_getters()
     getters['path'] = Album.item_dir
     getters['albumtotal'] = Album._albumtotal
     return getters
Ejemplo n.º 2
0
 def _getters(cls):
     # In addition to plugin-provided computed fields, also expose
     # the album's directory as `path`.
     getters = plugins.album_field_getters()
     getters['path'] = Album.item_dir
     getters['albumtotal'] = Album._albumtotal
     return getters