code: def __init__(self, *args, **kwargs):
      raise DeprecationWarning(
          "`ray.tune.integration.pytorch_lightning._TuneCheckpointCallback` "
          "is deprecated."
      )
  
imports: import inspect
  import logging
  import os
  import tempfile
  import warnings
  from contextlib import contextmanager
  from typing import Dict, List, Optional, Type, Union
  from pytorch_lightning import Callback, Trainer, LightningModule
  from ray import train
  from ray.util import log_once
  from ray.util.annotations import PublicAPI, Deprecated
  from ray.train import Checkpoint
label_desc: Use image node_id 1 to create a new _TuneCheckpointCallback object from inherited base classes: TuneCallback with example: obj = _TuneCheckpointCallback()