class_docstr: ``_WrappingCheckpointIO`` is a wrapper checkpoint_io that uses a base checkpoint_io to handle checkpointing.
  
  Args:
      checkpoint_io: A checkpoint IO plugin that is used as the basis.
class_docstr_tok: ["``","_WrappingCheckpointIO","``","is","a","wrapper","checkpoint_io","that","uses","a","base","checkpoint_io","to","handle","checkpointing",".","Args",":","checkpoint_io",":","A","checkpoint","IO","plugin","that","is","used","as","the","basis","."]
code: def checkpoint_io(self, checkpoint_io: "CheckpointIO") -> None:
      assert not isinstance(checkpoint_io, _WrappingCheckpointIO)
  
      if self._checkpoint_io is None:
          self._base_checkpoint_io_configured = True
          self._checkpoint_io = checkpoint_io
      elif (
          isinstance(self._checkpoint_io, _WrappingCheckpointIO)
          and not self._base_checkpoint_io_configured
      ):
          self._base_checkpoint_io_configured = True
          self._checkpoint_io.checkpoint_io = checkpoint_io
  
file_path: pytorch-lightning/src/lightning/pytorch/plugins/io/wrapper.py
imports: from typing import Any, Dict, Optional
  from typing_extensions import override
  from lightning.fabric.plugins import CheckpointIO
label_desc: Use image node_id 3 for calling the _WrappingCheckpointIO obj's underlying member method code with example usage: obj.checkpoint_io(checkpoint_io) without return types