code: def write(self, *messages):
          
          for message in messages:
              if not isinstance(message, Token):
                  message = ensure_tuple(message, cls=self._input_type, length=self._input_length)
                  if self._input_length is None:
                      self._input_length = len(message)
              self.input.put(message)
docs: Push a message list to this context's input queue.
  
          :param mixed value: message