'Restricts the query by altering either the start, end or both offsets.'

def set_limits(self, low=None, high=None):

    if (low is not None):
        self.start_offset = int(low)
    if (high is not None):
        self.end_offset = int(high)
