code: def extract_tar(fpath: Path) -> None:
      # extract file
      with tarfile.open(fpath, "r:gz") as tar:
          tar.extractall(path=fpath.parent)
  
file_path: PyTorch-BigGraph/torchbiggraph/converters/utils.py
imports: import gzip
  import shutil
  import tarfile
  from pathlib import Path
  from typing import Callable, Optional
  from urllib.parse import urlparse
  from urllib.request import urlretrieve
  from tqdm import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: extract_tar(fpath) without return types