code: def get_sweep_id_from_proc(proc: subprocess.Popen) -> Optional[str]:
      while True:
          output = proc.stdout.readline().decode()
          if "Created sweep with ID: " in output:
              sweep_id = output.split("ID: ")[1].rstrip()
              return sweep_id
          if proc.poll() is not None:
              break
      return None
  
file_path: wandb/tests/release_tests/test_launch/utils.py
imports: import signal
  import subprocess
  import sys
  from time import sleep
  from typing import Optional
  import wandb
  import yaml
  from kubernetes import client, config, watch
  from wandb.apis.public import Api
label_desc: Use image node_id 11 for calling a global function with example usage: get_sweep_id_from_proc(proc) and returns: None, sweep_id