def disconnect_signals(self):
        """
        Disable the signals within the work. This function reverses the process of `connect_signals`
        """
        for task in self:
            try:
                dispatcher.disconnect(self.on_ok, signal=task.S_OK, sender=task)
            except dispatcher.errors.DispatcherKeyError as exc:
                logger.debug(str(exc))
def disconnect_signals ( self ) : for task in self : try : dispatcher . disconnect ( self . on_ok , signal = task . S_OK , sender = task ) except dispatcher . errors . DispatcherKeyError as exc : logger . debug ( str ( exc ) )
Disable the signals within the work. This function reverses the process of `connect_signals`