(self, checkpoint, checkpoint_frequency, checkpoint_callback=None)
:param checkpoint: PillowCheckpoint object
        :param checkpoint_frequency: Number of changes between checkpoint updates
:param checkpoint: PillowCheckpoint object
        :param checkpoint_frequency: Number of changes between checkpoint updates
: param checkpoint : PillowCheckpoint object : param checkpoint_frequency : Number of changes between checkpoint updates
def __init__(self, checkpoint, checkpoint_frequency, checkpoint_callback=None):
        """
        :param checkpoint: PillowCheckpoint object
        :param checkpoint_frequency: Number of changes between checkpoint updates
        """
        # check settings to make it easy to override in tests
        self.max_checkpoint_delay = getattr(settings, 'PTOP_CHECKPOINT_DELAY_OVERRIDE', MAX_CHECKPOINT_DELAY)
        self.checkpoint = checkpoint
        self.checkpoint_frequency = checkpoint_frequency
        self.last_update = None
        self.last_log = None
        self.checkpoint_callback = checkpoint_callback
def __init__ ( self , checkpoint , checkpoint_frequency , checkpoint_callback = None ) : # check settings to make it easy to override in tests self . max_checkpoint_delay = getattr ( settings , 'PTOP_CHECKPOINT_DELAY_OVERRIDE' , MAX_CHECKPOINT_DELAY ) self . checkpoint = checkpoint self . checkpoint_frequency = checkpoint_frequency self . last_update = None self . last_log = None self . checkpoint_callback = checkpoint_callback