code: def test_exit_handler(
      final_status: tfx.dsl.components.Parameter[str],
      file_dir: tfx.dsl.components.Parameter[str],
  ):
      io_utils.write_string_file(file_dir, final_status)
  
imports: from tfx.orchestration.kubeflow import decorators
  from tfx.utils import io_utils
  import tfx.v1
label_desc: Use image node_id 1 for calling a global function with example usage: test_exit_handler(final_status, file_dir) without return types