code: def deserialize_pb_object(data) -> BaseRecord:
      base_pb = BaseRecord()
      base_pb.ParseFromString(data)
      return base_pb
  
imports: from aim.cli.upgrade._legacy_repo.proto.base_pb2 import BaseRecord
  from aim.cli.upgrade._legacy_repo.proto.metric_pb2 import MetricRecord
label_desc: Use image node_id 1 for calling a global function with example usage: deserialize_pb_object(data) and returns: base_pb