def set(self, **signals):
        """Set signals.

        Args:
            signals: A dict(key-value pairs) of all signals. For example
                     {'signal1': True, 'signal2': 10}
        """
        for name in signals:
            if name not in self._signals:
                self._init_status[name] = signals[name]
            self._signals[name] = signals[name]
Set signals.

        Args:
            signals: A dict(key-value pairs) of all signals. For example
                     {'signal1': True, 'signal2': 10}