def append_to_csv(file_path: str, new_row: Sequence[str]):
  """Append a new row to a CSV file."""
  with open(file_path, 'a', newline='', encoding='utf-8') as file:
    writer = csv.writer(file)
    writer.writerow(new_row)
Append a new row to a CSV file.
examples/deprecated/modular/utils/files.py