

def _add_fluent_indexes(self):
    '\n        Add the index commands fluently specified on columns:\n        '
    for column in self._columns:
        for index in ['primary', 'unique', 'index']:
            column_index = column.get(self)
            if (column_index is True):
                getattr(self, index)(column.name)
                break
            elif column_index:
                getattr(self, index)(column.name, column_index)
                break

dataset/ETHPy150Open sdispater/orator/orator/schema/blueprint.py Blueprint._add_fluent_indexes/VarMisuse@40/79 `index`->`self`