def ExpectsShortText(func):
  """Decorator for Builder questions that indicates an expected value of str.
  
  This decorator indicates to the renderer that the question will be answered
  by a text input (single line)."""
  func.expectsShortText = True
  return func