code: def extract_file_from_tgz(
      src_tgz_path: str, tar_member: str, dst_path: str, tmp_dir: str
  ):
      with tarfile.open(src_tgz_path, "r:gz") as tar:
          needed_members = [
              m for m in tar.getmembers() if m.name == tar_member
          ]
          tar.extractall(members=needed_members, path=tmp_dir)
          os.rename(os.path.join(tmp_dir, tar_member), dst_path)
  
file_path: catboost/ci/prepare_release_artifacts.py
imports: import argparse
  import os
  import shutil
  import tarfile
  import tempfile
label_desc: Use image node_id 3 for calling a global function with example usage: extract_file_from_tgz(src_tgz_path, tar_member, dst_path, tmp_dir) without return types