code: def __init__(self) -> None:
      self.exit_code = 0
      self.exception = None
  
file_path: wandb/wandb/sdk/lib/exit_hooks.py
imports: import sys
  import traceback
  from types import TracebackType
  from typing import TYPE_CHECKING, Optional, Type
  import wandb
  from wandb.errors import Error
label_desc: Use image node_id 1 to create a new ExitHooks object  with example: obj = ExitHooks()