code: def experiment_to_pb(exp: Experiment) -> pb.Experiment:
      return pb.Experiment(
          id=exp.id,
          created=timestamp_to_pb(exp.created),
          user=exp.user,
          host=exp.host,
          command=exp.command,
          config=config_to_pb(exp.config),
          path=exp.path,
          params=value_map_to_pb(exp.params),
          pythonPackages=exp.python_packages,
          pythonVersion=exp.python_version,
          keepsakeVersion=exp.keepsake_version,
          checkpoints=checkpoints_to_pb(exp.checkpoints),
      )
  
imports: import datetime
  import json
  from typing import List, Dict, Any, Optional, MutableMapping
  from google.protobuf import timestamp_pb2
  from .servicepb import keepsake_pb2
  from .experiment import Experiment
  from .checkpoint import Checkpoint, PrimaryMetric, CheckpointList
label_desc: Use image node_id 13 for calling a global function with example usage: experiment_to_pb(exp) and returns: pb