code: def set_err_stage(self, stage: str) -> None:
      self.err_stage = stage
  
file_path: wandb/wandb/sdk/launch/agent/job_status_tracker.py
imports: import logging
  from dataclasses import dataclass
  from typing import Optional
  from wandb.apis.internal import Api
  from wandb.errors import CommError
  from wandb.sdk.launch._project_spec import LaunchProject
  from ..runner.abstract import AbstractRun
  from ..utils import event_loop_thread_exec
  from .run_queue_item_file_saver import RunQueueItemFileSaver
label_desc: Use image node_id 3 for calling the JobAndRunStatusTracker obj's underlying member method code with example usage: obj.set_err_stage(stage) without return types