(self, max_entries)
Make changes to the max entries of return values.
Make changes to the max entries of return values.
Make changes to the max entries of return values .
def max_entries(self, max_entries):
        """Make changes to the max entries of return values."""
        self._max_entries = max_entries
        if max_entries < self.DEFAULT_SIZE_LIMIT:
            _ = self.query_filter
            self._query_filter['size'] = max_entries
            self._query_filter['terminate_after'] = max_entries
        self.commit()
def max_entries ( self , max_entries ) : self . _max_entries = max_entries if max_entries < self . DEFAULT_SIZE_LIMIT : _ = self . query_filter self . _query_filter [ 'size' ] = max_entries self . _query_filter [ 'terminate_after' ] = max_entries self . commit ( )