Writes a single row to the underlying buffer.

    Args:
      values: A list of string values to be inserted into the CSV output.

def WriteRow(self, values):
    """Writes a single row to the underlying buffer.

    Args:
      values: A list of string values to be inserted into the CSV output.
    """
    precondition.AssertIterableType(values, text)

    if compatibility.PY2:
      self._csv.writerow([value.encode("utf-8") for value in values])
    else:
      self._csv.writerow(values)