def _get_data(self, resource, params=None, legacy=None, order_by=None, limit=None, valrange=None, sort=None):

        r = self._http_resource('GET', resource, params=params, legacy=legacy, order_by=order_by, limit=limit, valrange=valrange, sort=sort)

        items = self._resource_deserialize(r.content.decode("utf-8"))
        if r.status_code == 206 and r.headers in 'Next-Range' and not limit:
            #We have unexpected chunked response - deal with it
            valrange = r.headers['Next-Range']
            print ("Warning Response was chunked, Loading the next Chunk using the following next-range header returned by Heroku '{0}'. WARNING - This breaks randomly depending on your order_by name. I think it's only guarenteed to work with id's - Looks to be a Heroku problem".format(valrange))
            new_items = self._get_data(resource, params=params, legacy=legacy, order_by=order_by, limit=limit, valrange=valrange, sort=sort)
            items.extend(new_items)

        return items
dataset/ETHPy150Open martyzz1/heroku3.py/heroku3/api.py/HerokuCore._get_data/swapped operands of `in`