code: def full_checkpoint_pb():
      return pb.Checkpoint(
          id="foo",
          created=pb_convert.timestamp_to_pb(
              datetime.datetime(2020, 12, 7, 1, 13, 29, 192682)
          ),
          path=".",
          step=123,
          metrics={
              "myint": pb.ParamType(intValue=456),
              "myfloat": pb.ParamType(floatValue=7.89),
              "mystring": pb.ParamType(stringValue="value"),
              "mytrue": pb.ParamType(boolValue=True),
              "myfalse": pb.ParamType(boolValue=False),
              "mylist": pb.ParamType(objectValueJson="[1, 2, 3]"),
              "mymap": pb.ParamType(objectValueJson='{"bar": "baz"}'),
          },
          primaryMetric=pb.PrimaryMetric(
              name="myfloat", goal=pb.PrimaryMetric.Goal.MAXIMIZE
          ),
      )
  
imports: import datetime
  from keepsake import pb_convert
  from keepsake.checkpoint import Checkpoint, PrimaryMetric, CheckpointList
  from keepsake.experiment import Experiment
  from keepsake.servicepb import keepsake_pb2
  from keepsake.project import Project
label_desc: Use image node_id 1 for calling a global function with example usage: full_checkpoint_pb() and returns: pb