code: def _assign_end_offset(record: "pb.Record", end_offset: int) -> None:
      record.control.end_offset = end_offset
  
file_path: wandb/wandb/sdk/lib/proto_util.py
imports: import json
  from typing import TYPE_CHECKING, Any, Dict, Union
  from wandb.proto import wandb_internal_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: _assign_end_offset(record, end_offset) without return types