

def get_required_columns(self):
    'Lists names of columns that have required fields.'
    required_columns = []
    if self.formset_class:
        empty_form = self.get_formset().empty_form
        for column in self.columns.values():
            field = empty_form.fields.get(self.name)
            if (field and field.required):
                required_columns.append(column.name)
    return required_columns

dataset/ETHPy150Open CiscoSystems/avos/horizon/tables/formset.py FormsetDataTableMixin.get_required_columns/VarMisuse@55/88 `column`->`self`