@property
    def search_forms_response(self):
        forms = []
        for app in self.apps:
            for module in app.get_modules():
                for form in module.get_forms():
                    forms.append({
                        'text': form.full_path_name,
                        'id': form.unique_id,
                    })
        if not self.search_term:
            return forms
        final_forms = []
        search_terms = self.search_term.split(" ")
        for form in forms:
            matches = [t for t in search_terms if t in form['text']]
            if len(matches) == len(search_terms):
                final_forms.append(form)
        return final_forms
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/reminders/views.py/CreateScheduledReminderView.search_forms_response/original