def save_checkpoint(self, data, indicator_type):
        """
        Save the checkpoint for a given indicator type.

        Args:
            data (Any): The data to be saved as the checkpoint.
            indicator_type (str): The type of the indicator.

        Raises:
            TeamCymruScoutException: If an error occurs while saving the checkpoint.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            self.state.post(data)
            applogger.info(
                "{} (method={}) Checkpoint data={} saved for {}".format(consts.LOGS_STARTS_WITH, __method_name, data, indicator_type)
            )
        except Exception as err:
            applogger.error("{} (method={}) {}".format(consts.LOGS_STARTS_WITH, __method_name, err))
            raise TeamCymruScoutException()

        Save the checkpoint for a given indicator type.

        Args:
            data (Any): The data to be saved as the checkpoint.
            indicator_type (str): The type of the indicator.

        Raises:
            TeamCymruScoutException: If an error occurs while saving the checkpoint.
        
Solutions/Team Cymru Scout/Data Connectors/TeamCymruScout/SharedCode/checkpoint_manager.py