code: def checkpoints_file_rm(args: argparse.Namespace) -> None:
      if (
          args.yes
          or len(args.glob) == 0
          or render.yes_or_no(
              "All files matching specified globs will be deleted in all checkpoints provided\n"
              "in checkpoint storage. Do you still want to proceed?"
          )
      ):
          c_uuids = args.checkpoints_uuids.split(",")
          remove_body = bindings.v1CheckpointsRemoveFilesRequest(
              checkpointGlobs=args.glob,
              checkpointUuids=c_uuids,
          )
          bindings.post_CheckpointsRemoveFiles(
              cli.setup_session(args), body=remove_body
          )
  
          if len(args.glob) == 0:
              print(
                  "No glob patterns provided, "
                  + f"refreshing resources of checkpoints {args.checkpoints_uuids} is in progress."
              )
          else:
              print(
                  f"Removal of files from checkpoints {args.checkpoints_uuids} is in progress."
              )
      else:
          print("Stopping removal of files from checkpoints.")
  
file_path: determined/harness/determined/cli/checkpoint.py
imports: import argparse
  import json
  from typing import Any, List, Optional
  from determined import cli, errors, experimental
  from determined.cli import render
  from determined.common.api import authentication, bindings
  from determined.common.declarative_argparse import Arg, Cmd
  from determined.experimental.client import DownloadMode
label_desc: Use image node_id 6 for calling a global function with example usage: checkpoints_file_rm(args) without return types