<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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]