code: def unpatch() -> None:
      for module, method in wandb.patched["tensorboard"]:
          writer = wandb.util.get_module(module, lazy=False)
          setattr(writer, method, getattr(writer, f"orig_{method}"))
      wandb.patched["tensorboard"] = []
  
file_path: wandb/wandb/integration/tensorboard/monkeypatch.py
imports: import os
  import re
  import socket
  from typing import Any, Optional
  import wandb
  import wandb.util
label_desc: Use image node_id 1 for calling a global function with example usage: unpatch() without return types