code: def _extract_js_resource(
      js_model_dir: str, code_dir: Path, js_id: str
  ):
      """Uncompress the jumpstart resource"""
      tmp_sourcedir = Path(js_model_dir).joinpath(
          f"infer-prepack-{js_id}.tar.gz"
      )
      with tarfile.open(str(tmp_sourcedir)) as resources:
          resources.extractall(path=code_dir)
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/model_server/tgi/prepare.py
imports: from __future__ import absolute_import
  import tarfile
  import logging
  from typing import List
  from pathlib import Path
  from sagemaker.serve.utils.local_hardware import _check_disk_space, _check_docker_disk_usage
  from sagemaker.utils import _tmpdir
  from sagemaker.s3 import S3Downloader
label_desc: Use image node_id 1 for calling a global function with example usage: _extract_js_resource(js_model_dir, code_dir, js_id) without return types