parameters: (self, signal_tokens)
docstring: Remove action duplicates from a list of signal tokens.
  
          Duplicate actions are possible because the same action may be signalled
          at different levels of the hierarchy.  If it happens, we arbitrarily
          choose one of the duplicates.
  
          This method refreshes signals stored internally from the list of input
          tokens.
  
          Args:
              signal_tokens: The signal tokens to dedup.
docstring_summary: Remove action duplicates from a list of signal tokens.
docstring_tokens: Remove action duplicates from a list of signal tokens .
function: def _dedup_actions(self, signal_tokens):
          """Remove action duplicates from a list of signal tokens.
  
          Duplicate actions are possible because the same action may be signalled
          at different levels of the hierarchy.  If it happens, we arbitrarily
          choose one of the duplicates.
  
          This method refreshes signals stored internally from the list of input
          tokens.
  
          Args:
              signal_tokens: The signal tokens to dedup.
          """
          self._signals = {}
          for signal_token in signal_tokens:
              signal = pickle.loads(signal_token.data)
              self._signals[signal.action] = signal
function_tokens: def _dedup_actions ( self , signal_tokens ) : self . _signals = { } for signal_token in signal_tokens : signal = pickle . loads ( signal_token . data ) self . _signals [ signal . action ] = signal