#NEWLINE# def retrieve( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# self . object = self . get_object ( ) #NEWLINE# if ( isinstance ( request . accepted_renderer , MediaFileRenderer ) and ( self . object . data_file is not None ) ) : #NEWLINE# #INDENT# return get_media_file_response ( self . object ) #NEWLINE# #UNINDENT# serializer = self . get_serializer ( self . object ) #NEWLINE# return Response ( serializer . data )