def _collect_fields(self):
        for f in itervalues(self.properties.to_dict()):
            yield f
            # multi fields
            if hasattr(f, 'fields'):
                for inner_f in itervalues(f.fields.to_dict()):
                    yield inner_f
            # nested and inner objects
            if hasattr(f, '_collect_fields'):
                for inner_f in f._collect_fields():
                    yield inner_f
Trigger an Exception from a view that will short-circuit the Response
dataset/ETHPy150Open elastic/elasticsearch-dsl-py/elasticsearch_dsl/field.py/InnerObject._collect_fields--crossover with--dataset/ETHPy150Open coleifer/scout/scout.py/error