def clear_from(self, timestamp):
        """Clear all data from `timestamp` onwards. Note that the timestamp
        is rounded down to the nearest block boundary"""
        block_size = self.config.block_size
        offset, remainder = timestamp // block_size, timestamp % block_size
        if remainder:
            raise ValueError('Timestamp must be on a block boundary')
        self.driver.clear_from(offset, timestamp)
def clear_from ( self , timestamp ) : block_size = self . config . block_size offset , remainder = timestamp // block_size , timestamp % block_size if remainder : raise ValueError ( 'Timestamp must be on a block boundary' ) self . driver . clear_from ( offset , timestamp )
Clear all data from `timestamp` onwards. Note that the timestamp
        is rounded down to the nearest block boundary