def register_signals(self):
        """Register signals for all indexes."""
        for index in self.indexes:
            if index.object_type:
                self._connect_signal(index)
def register_signals ( self ) : for index in self . indexes : if index . object_type : self . _connect_signal ( index )
Register signals for all indexes.