@utils.immutable
    def limit(self, *_range):

        # uses the same argument order as
        # LIMIT in a SQL database
        if len(_range) == 2:
            start, maximum = _range
        else:
            start = 1
            maximum = _range[0]

        self.meta['limit'] = maximum

        self.raw.update({
            'start_index': start,
            'max_results': maximum,
        })
        return self
Clear item list.
dataset/ETHPy150Open debrouwere/google-analytics/googleanalytics/query.py/CoreQuery.limit--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/context.py/_ItemList.clear