original_docstring: 
          Create a trigger file to be activated.
  
          :param str trigger_name: Name of the trigger.
          :raises ResourceWarning:
              If ``self`` is not bound, as determined by :meth:`is_bound`.
          :raises ValueError: If the ``trigger_name`` is not valid.
  
          The trigger added must already have a callback.
          
docstring: Create a trigger file to be activated.
docstring_tokens: Create a trigger file to be activated .
code: def add_trigger(self, trigger_name: str) -> None:
          """
          Create a trigger file to be activated.
  
          :param str trigger_name: Name of the trigger.
          :raises ResourceWarning:
              If ``self`` is not bound, as determined by :meth:`is_bound`.
          :raises ValueError: If the ``trigger_name`` is not valid.
  
          The trigger added must already have a callback.
          """
          if not self.is_bound():
              raise ResourceWarning(
                  'Not adding trigger. Entry point not bound.'
              )
          assert trigger_name in self.callback_map
          self.available_triggers.add(trigger_name)
          self.get_trigger_path(trigger_name).touch()
code_tokens: def add_trigger ( self , trigger_name : str ) -> None : if not self . is_bound ( ) : raise ResourceWarning ( 'Not adding trigger. Entry point not bound.' ) assert trigger_name in self . callback_map self . available_triggers . add ( trigger_name ) self . get_trigger_path ( trigger_name ) . touch ( )
short_docstring: Create a trigger file to be activated.
short_docstring_tokens: Create a trigger file to be activated .
comment: """
          Create a trigger file to be activated.
  
          :param str trigger_name: Name of the trigger.
          :raises ResourceWarning:
              If ``self`` is not bound, as determined by :meth:`is_bound`.
          :raises ValueError: If the ``trigger_name`` is not valid.
  
          The trigger added must already have a callback.
          """