code: def docker_pull(
      obj, image, *, using_docker_cli, pull_leaf, ignore_pull_failures
  ):
      """
      Execute docker-compose pull.
      """
      compose = obj["compose"]
  
      try:
          compose.pull(
              image,
              pull_leaf=pull_leaf,
              using_docker=using_docker_cli,
              ignore_pull_failures=ignore_pull_failures,
          )
      except UndefinedImage as e:
          raise click.ClickException(
              "There is no service/image defined in docker-compose.yml with "
              "name: {}".format(str(e))
          )
      except RuntimeError as e:
          raise click.ClickException(str(e))
  
file_path: arrow/dev/archery/archery/docker/cli.py
imports: import os
  import sys
  import click
  from ..utils.cli import validate_arrow_sources
  from .core import DockerCompose, UndefinedImage
label_desc: Use image node_id 4 for calling a global function with example usage: docker_pull(obj, image) without return types