code: def _symlink(target_file, link_location):
      target = Path(target_file)
      link = Path(link_location)
      relative = os.path.relpath(target, link.parent)
      link.symlink_to(relative, target.is_dir())
  
imports: from io import BytesIO
  import json
  import os
  from pathlib import Path
  import platform
  import shutil
  import subprocess
  import sys
  import tarfile
  import traceback
  from zipfile import ZipFile
label_desc: Use image node_id 12 for calling a global function with example usage: _symlink(target_file, link_location) without return types