code: def append_to_jsonl_file(data, file):
      """Appends json dictionary as new line to file"""
      with open(file, "a+") as out_file:
          for x in data:
              out_file.write(json.dumps(x, ensure_ascii=False) + "\n")
  
file_path: H2O/h2o_hf/helm/scripts/fact_completion/utils.py
imports: import os
  import json
  from typing import Iterator, Dict, List
  import pandas
  from pathlib import Path
label_desc: Use image node_id 3 for calling a global function with example usage: append_to_jsonl_file(data, file) without return types