#NEWLINE# def read( self , request , source , id = None ) : #NEWLINE# #INDENT# if ( id is not None ) : #NEWLINE# #INDENT# action = Action . objects . get ( pk = self , source__slug = source ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# action = Action . objects . filter ( source__slug = source ) #NEWLINE# #UNINDENT# return action