code: def test_file_writer_not_a_func():
      datastore = get_ready_ds()
      with pytest.raises(TypeError):
          FileWriter("my_data", apply_func={}).transform(datastore)
  
file_path: popmon/tests/popmon/io/test_file_writer.py
imports: import copy
  import json
  import pandas
  import pytest
  from popmon.io import FileWriter
label_desc: Use image node_id 6 for calling a global function with example usage: test_file_writer_not_a_func() without return types