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