code: def vl_convert_compiler(vegalite_spec) -> dict:
      try:
          import vl_convert as vlc
      except ImportError:
          raise ImportError(
              "The vl-convert Vega-Lite compiler requires the vl-convert-python package"
          )
  
      from . import altair_vl_version
  
      vega_spec = vlc.vegalite_to_vega(
          vegalite_spec, vl_version=altair_vl_version(vl_convert=True)
      )
      return vega_spec
  
imports: from altair.utils.plugin_registry import PluginRegistry
  from typing import Callable
label_desc: Use image node_id 1 for calling a global function with example usage: vl_convert_compiler(vegalite_spec) and returns: vega_spec