code: def write_config(destination, models, verbose=False):
      with open(destination, "w") as f:
          f.write("model_config_list: {\n")
          for m, pth in models.items():
              f.write("    config: {\n")
              f.write(f'        name: "{m}", \n')
              f.write(f'        base_path: "{pth}",\n')
              f.write('        model_platform: "tensorflow"\n')
              f.write("    },\n")
          f.write("}")
      if verbose:
          with open(destination) as f:
              print(f.read())
  
imports: import os
  from structlog import get_logger
  from modelkit.assets.manager import AssetsManager
  from modelkit.assets.settings import AssetSpec
  from modelkit.core.library import download_assets
  from modelkit.core.models.tensorflow_model import TensorflowModel
label_desc: Use image node_id 1 for calling a global function with example usage: write_config(destination, models, verbose) without return types