Home
last modified time | relevance | path

Searched refs:album_model (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/
Dtunes_db.py322 def __album_from_model(self, album_model): argument
332 artist_id = model.AlbumInfo.artist.get_value_for_datastore(album_model)
334 return Album(album_id=unicode(album_model.key()),
336 name=album_model.name,
337 released=album_model.released or None)
519 album_model = model.AlbumInfo.get(request.album_id)
520 if isinstance(album_model, model.AlbumInfo):
521 album = self.__album_from_model(album_model)