def encode(self, value):
        padding = self.padding
        if self.precision > 0 and self.padding > 0:
            # Padding shouldn't include decimal digits or the decimal point.
            padding += self.precision + 1
        return ('%%0%d.%df' % (padding, self.precision)) % (value + self.offset)
Deletes all logs in bucket_id that match (i.e. contain) pattern_dict
dataset/ETHPy150Open saymedia/python-simpledb/simpledb/models.py/NumberField.encode--crossover with--dataset/ETHPy150Open nextml/NEXT/next/logging_client/LoggerAPI.py/LoggerAPI.delete_logs_with_filter