#NEWLINE# def find_users_by_group( self , group_id ) : #NEWLINE# #INDENT# items = self . db . users . find ( { #NEWLINE# #INDENT# 'groups_id' : r , #NEWLINE# #UNINDENT# } ) #NEWLINE# return [ User ( r [ 'id' ] , r [ 'email' ] , * r [ 'groups_id' ] ) for r in items ]