parameters: (self)
docstring: Show Albums search page.
  
      Parameters:
        s: Search string.  Searches artist name prefix.
        c: Continuation if paginating.
docstring_summary: Show Albums search page.
docstring_tokens: Show Albums search page .
function: def get(self):
      """Show Albums search page.
  
      Parameters:
        s: Search string.  Searches artist name prefix.
        c: Continuation if paginating.
      """
      search_string = self.request.get('s', '')
      continuation = self.request.get('c', '')
  
      if continuation:
        name_prefix = None
      else:
        name_prefix = search_string
  
      response = music_service.search_albums(fetch_size=PAGE_SIZE,
                                             continuation=continuation or None,
                                             name_prefix=search_string)
      albums = response.albums
  
      self.response.out.write(
          template.render('albums.html',
                          {'albums': albums,
                           'search_string': search_string,
  
                           # Paging information.
                           'continuation': response.continuation or '',
                           'this_page': continuation,
                           'nav_action': '/albums',
                           },
                          True))
function_tokens: def get ( self ) : search_string = self . request . get ( 's' , '' ) continuation = self . request . get ( 'c' , '' ) if continuation : name_prefix = None else : name_prefix = search_string response = music_service . search_albums ( fetch_size = PAGE_SIZE , continuation = continuation or None , name_prefix = search_string ) albums = response . albums self . response . out . write ( template . render ( 'albums.html' , { 'albums' : albums , 'search_string' : search_string , # Paging information. 'continuation' : response . continuation or '' , 'this_page' : continuation , 'nav_action' : '/albums' , } , True ) )