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 config in ${output_dir}/config.pickle.
docstr_tok: ["Pickle","the","job","'s","config","in","$","{","output_dir","}","\/config.pickle","."]
code: def on_job_start(self, config: DictConfig, **kwargs: Any) -> None:
      """Pickle the job's config in ${output_dir}/config.pickle."""
      self.output_dir = Path(config.hydra.runtime.output_dir) / Path(
          config.hydra.output_subdir
      )
      filename = "config.pickle"
      self._save_pickle(
          obj=config, filename=filename, output_dir=self.output_dir
      )
      self.log.info(
          f"Saving job configs 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 2 for calling the PickleJobInfoCallback obj's underlying member method code with example usage: obj.on_job_start(config) without return types