code: def get_engine_config(
      engine: Engine,
      ver: SyftVersion,
      dl_dir: Path,
      dryrun: bool = False,
  ) -> Path:
      asset_name = (
          SyftRepo.Assets.PODMAN_CONFIG
          if engine == Engine.Podman
          else SyftRepo.Assets.DOCKER_CONFIG
      )
  
      if dryrun:
          debug(
              f"Download: '{ver.release_tag}/{asset_name}' to '{dl_dir}'"
          )
          return Path(dl_dir, asset_name)
  
      return SyftRepo.download_asset(
          asset_name, ver.release_tag, dl_dir
      )
  
imports: from enum import Enum
  from pathlib import Path
  from shutil import rmtree
  import tarfile
  from typing import List
  from typer import Exit
  from typer import Option
  from typing_extensions import Annotated
  from ..core.console import debug
  from ..core.console import error
  from ..core.console import info
  from ..core.console import success
  from ..core.container_engine import ContainerEngine
  from ..core.container_engine import ContainerEngineError
  from ..core.container_engine import Docker
  from ..core.container_engine import Podman
  from ..core.syft_repo import SyftRepo
  from ..core.syft_version import InvalidVersion
  from ..core.syft_version import SyftVersion
label_desc: Use image node_id 10 for calling a global function with example usage: get_engine_config(engine, ver, dl_dir, dryrun) and returns: SyftRepo, Path