class_docstr: Pickle the job config/return-value in ${output_dir}/{config,job_return}.pickle
class_docstr_tok: ["Pickle","the","job","config\/return-value","in","$","{","output_dir","}","\/","{","config",",","job_return","}",".pickle"]
docstr: Pickle the job's return value in ${output_dir}/job_return.pickle.
docstr_tok: ["Pickle","the","job","'s","return","value","in","$","{","output_dir","}","\/job_return.pickle","."]
code: def on_job_end(
      self, config: DictConfig, job_return: JobReturn, **kwargs: Any
  ) -> None:
      """Pickle the job's return value in ${output_dir}/job_return.pickle."""
      filename = "job_return.pickle"
      self._save_pickle(
          obj=job_return, filename=filename, output_dir=self.output_dir
      )
      self.log.info(
          f"Saving job_return in {self.output_dir / filename}"
      )
  
file_path: hydra/hydra/experimental/callbacks.py
imports: import logging
  import pickle
  from pathlib import Path
  from typing import Any
  from omegaconf import DictConfig
  from hydra.core.utils import JobReturn, JobStatus
  from hydra.experimental.callback import Callback
label_desc: Use image node_id 3 for calling the PickleJobInfoCallback obj's underlying member method code with example usage: obj.on_job_end(config, job_return) without return types