code: def convert_metadata(
      info: dataset_info.DatasetInfo,
      out_file_format: file_adapters.FileFormat,
      out_path: epath.Path,
  ) -> None:
      info.as_proto.file_format = out_file_format.value
      info.write_to_directory(out_path)
  
imports: from collections.abc import Iterator
  import dataclasses
  from typing import Type
  from absl import logging
  from etils import epath
  from tensorflow_datasets.core import constants
  from tensorflow_datasets.core import dataset_info
  from tensorflow_datasets.core import file_adapters
  from tensorflow_datasets.core import naming
  from tensorflow_datasets.core import read_only_builder
  from tensorflow_datasets.core import splits
  from tensorflow_datasets.core.utils import py_utils
  from tensorflow_datasets.core.utils import type_utils
  from tensorflow_datasets.core.utils.lazy_imports_utils import apache_beam
label_desc: Use image node_id 4 for calling a global function with example usage: convert_metadata(info, out_file_format, out_path) without return types