code: def cancel_event(self) -> threading.Event:
      return self._cancel_event
  
file_path: wandb/wandb/sdk/internal/context.py
imports: import logging
  import threading
  from typing import Dict, Optional
  from wandb.proto.wandb_internal_pb2 import Record, Result
label_desc: Use image node_id 3 for calling the Context obj's underlying member method code with example usage: obj.cancel_event() and returns: self