code: def sigusr1_handler(signum, _):
      """Handles SIGUSR1 that is sent before a job is killed by requeuing it."""
      prt("Caught SIGUSR1 with code {}".format(signum))
      requeue_job()
  
file_path: pycls/tools/sweep_launch_job.py
imports: import argparse
  import json
  import os
  import signal
  import subprocess
  import sys
  from datetime import datetime
label_desc: Use image node_id 4 for calling a global function with example usage: sigusr1_handler(signum, _) without return types