def get_members(group, include_failed=False):
 resources = []
 if group.nested():
  resources = [r for r in six.itervalues(group.nested()) if (include_failed or (r.status != r.FAILED))]
 return sorted(resources, key=(lambda r: ((r.status != r.FAILED), r.created_time, r.name)))

def get_members ( group , include_failed = False ) : resources = [ ] if group . nested ( ) : resources = [ r for r in six . itervalues ( group . nested ( ) ) if ( include_failed or ( r . status != r . FAILED ) ) ] return sorted ( resources , key = ( lambda r : ( ( r . status != r . FAILED ) , r . created_time , r . name ) ) )
get a list of member resources managed by the specified group .