code: def run_again(run_id: str, resume: Optional[str]) -> None:
      kwargs = dict(id=run_id)
      if resume:
          kwargs["resume"] = resume
      with wandb.init(**kwargs) as run:
          if run.resumed:
              print("RUN_STATE: run resumed")
          else:
              print("RUN_STATE: run not resumed")
          wandb.log(dict(m1=11))
          wandb.log(dict(m2=22))
          wandb.log(dict(m4=44))
  
imports: import argparse
  from typing import Optional
  import wandb
label_desc: Use image node_id 2 for calling a global function with example usage: run_again(run_id, resume) without return types