code: def context_id_from_record(record: Record) -> str:
      context_id = record.control.mailbox_slot
      return context_id
  
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 1 for calling a global function with example usage: context_id_from_record(record) and returns: context_id