code: def main():
      try:
          threads = []
          for i in range(2):
              threads.append(
                  threading.Thread(target=thread_test, args=(i,))
              )
          for thread in threads:
              thread.start()
          for thread in threads:
              thread.join()
      except Exception as e:
          print(e)
          print(
              "Issue with calling wandb init in a multithreaded situation"
          )
          raise AssertionError(
              "Issue with calling wandb init in a multithreaded situation"
          )
  
imports: import threading
  import wandb
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types