code: def format_arg(value):
      
      translator = repr if isinstance(value, six.string_types) else six.text_type
      return translator(value)
docs: :param value:
          Some value in a dataset.
      :type value:
          varies
      :return:
          unicode representation of that value
      :rtype:
          `unicode`