code: def run(wandb_file: str) -> None:
      ds = datastore.DataStore()
      try:
          ds.open_for_scan(wandb_file)
      except AssertionError as e:
          print(f".wandb file is empty ({e}), skipping: {wandb_file}")
          return
  
      # save exit for final send
      while True:
          data = _robust_scan(ds)
          if data is None:
              break
          pb = wandb_internal_pb2.Record()
          pb.ParseFromString(data)
          record_type = pb.WhichOneof("record_type")
          print(f"RECORD TYPE: {record_type}")
          print(pb)
          print()
          input()
  
imports: import fire
  import wandb
  from wandb.proto import wandb_internal_pb2
  from wandb.sdk.internal import datastore
label_desc: Use image node_id 2 for calling a global function with example usage: run(wandb_file) without return types