code: def main_sync(workers: List):
      for _, mq, _ in workers:
          mq.get()
      for _, _, pq in workers:
          pq.put(None)
  
imports: import multiprocessing
  import shutil
  from typing import List
  import wandb
label_desc: Use image node_id 2 for calling a global function with example usage: main_sync(workers) without return types