code: def write_file_config(file_config):
      with tempfile.NamedTemporaryFile(
          "w+", suffix="_tmp_config_file.yml", delete=False
      ) as f:
          f.write(yaml.safe_dump(file_config))
          f.flush()
          return f
  
imports: import tempfile
  import ruamel.yaml
label_desc: Use image node_id 1 for calling a global function with example usage: write_file_config(file_config) and returns: f