#NEWLINE# def list( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# if ( not hasattr ( self . request . user , 'mturk_account' ) ) : #NEWLINE# #INDENT# return Response ( data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , status = status . HTTP_204_NO_CONTENT ) #NEWLINE# #UNINDENT# obj = self . request . user . mturk_account #NEWLINE# serializer = self . serializer_class ( instance = obj ) #NEWLINE# return Response ( data = serializer . data , status = status . HTTP_200_OK )