code: def csv_path(tmp_path_factory: pytest.TempPathFactory) -> str:
      path = str(tmp_path_factory.mktemp("data") / "dataset.csv")
      with open(path, "w", newline="") as f:
          writer = csv.DictWriter(
              f, fieldnames=["col_1", "col_2", "col_3"]
          )
          writer.writeheader()
          for item in DATA:
              writer.writerow(item)
      return path
  
file_path: datasets-server/services/worker/tests/fixtures/files.py
imports: import csv
  import json
  import pandas
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: csv_path(tmp_path_factory) and returns: path