#NEWLINE# def _fetch_asset_data_for( self , asset ) : #NEWLINE# #INDENT# if ( asset . client_id in self . service . _photo_assets ) : #NEWLINE# #INDENT# return self . service . _photo_assets [ asset . client_id ] #NEWLINE# #UNINDENT# client_ids = [ ] #NEWLINE# prefetch = postfetch = self . service . prepostfetch #NEWLINE# for index in range ( max ( ( asset . album_index - prefetch ) , 0 ) , min ( ( ( asset . album_index + postfetch ) + 1 ) , len ( self . _photo_assets ) ) ) : #NEWLINE# #INDENT# client_ids . append ( self . _photo_assets [ index ] . client_id ) #NEWLINE# #UNINDENT# self . service . _fetch_asset_data_for ( client_ids ) #NEWLINE# return self . service . _photo_assets [ asset . client_id ]