

def _get_ancestors_pointers(self, model):
    result = []
    for (parent_model, parent_field) in model._meta.parents.items():
        result.append(parent_field.column)
        result.extend(result._get_ancestors_pointers(parent_model))
    return result

dataset/ETHPy150Open allegro/ralph/src/ralph/admin/views/multiadd.py MultiAddView._get_ancestors_pointers/VarMisuse@49/63 `self`->`result`