#NEWLINE# def get( self , resource , **kwargs ) : #NEWLINE# #INDENT# if ( not self . owner ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( not self . index ) : #NEWLINE# #INDENT# self . index = self . fetch_index ( ) #NEWLINE# #UNINDENT# asset = self . resolve_resource ( resource ) #NEWLINE# if ( not asset ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# return self . download_asset ( asset , resource . owner . name )