

def _index_names(cls):

    def is_index(name):
        attr = getattr(cls, name, None)
        return getattr(attr, 'is_index', False)
    return [name for name in dir(cls) if is_index(cls)]

dataset/ETHPy150Open memphis-iis/GLUDB/gludb/simple.py _index_names/VarMisuse@54/64 `name`->`cls`