code: def run_in_python_package_dir(
      src_root_dir: str,
      dry_run: bool,
      verbose: bool,
      commands: List[List[str]],
  ):
      os.chdir(os.path.join(src_root_dir, "catboost", "python-package"))
  
      for cmd in commands:
          if verbose:
              logging.info(" ".join(cmd))
          if not dry_run:
              subprocess.check_call(cmd)
  
      os.chdir(src_root_dir)
  
imports: import argparse
  import distutils
  import hashlib
  import logging
  import os
  import subprocess
  import sys
  import tarfile
  from typing import List, Tuple
label_desc: Use image node_id 6 for calling a global function with example usage: run_in_python_package_dir(src_root_dir, dry_run, verbose, commands) without return types