code: def test_get_set_checkpointing_mode(self):
      self.assertEqual(
          self.checkpoint_config.get_checkpointing_mode(),
          CheckpointingMode.EXACTLY_ONCE,
      )
  
      self.checkpoint_config.set_checkpointing_mode(
          CheckpointingMode.AT_LEAST_ONCE
      )
  
      self.assertEqual(
          self.checkpoint_config.get_checkpointing_mode(),
          CheckpointingMode.AT_LEAST_ONCE,
      )
  
      self.checkpoint_config.set_checkpointing_mode(
          CheckpointingMode.EXACTLY_ONCE
      )
  
      self.assertEqual(
          self.checkpoint_config.get_checkpointing_mode(),
          CheckpointingMode.EXACTLY_ONCE,
      )
  
file_path: flink/flink-python/pyflink/datastream/tests/test_check_point_config.py
imports: from pyflink.common import Duration
  from pyflink.datastream import CheckpointConfig, CheckpointingMode, ExternalizedCheckpointCleanup, StreamExecutionEnvironment
  from pyflink.java_gateway import get_gateway
  from pyflink.testing.test_case_utils import PyFlinkTestCase
label_desc: Use image node_id 4 for calling the CheckpointConfigTests obj's underlying member method code with example usage: obj.test_get_set_checkpointing_mode() without return types