def WithDesc(text):
  """Builds wrapper class with description text.

  @type text: string
  @param text: Description text
  @return: Callable class

  """
  assert text[0] == text[0].upper()

  return compat.partial(_DescWrapper, text)
dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/WithDesc/original