class_docstr: A :py:class:`~ray.train.Checkpoint` with LightGBM-specific functionality.
docstr: Retrieve the LightGBM model stored in this checkpoint.
docstr_tok: ["Retrieve","the","LightGBM","model","stored","in","this","checkpoint","."]
code: def get_model(self) -> lightgbm.Booster:
      """Retrieve the LightGBM model stored in this checkpoint."""
      with self.as_directory() as checkpoint_path:
          return lightgbm.Booster(
              model_file=os.path.join(
                  checkpoint_path, self.MODEL_FILENAME
              )
          )
  
file_path: ray/python/ray/train/lightgbm/lightgbm_checkpoint.py
imports: import os
  import tempfile
  from typing import TYPE_CHECKING, Optional
  import lightgbm
  from ray.train._internal.framework_checkpoint import FrameworkCheckpoint
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 2 for calling the LightGBMCheckpoint obj's underlying member method code with example usage: obj.get_model() and returns: lightgbm