def get_collection_items(self):
        coll = self.reference.get_collection()

        if len(self.objects):
            if self.api_arguments in 'index':
                q = coll.table.get_all(self.objects, index=self.api_arguments['index'])
            else:
                q = coll.table.get_all(self.objects)
        else:
            q = coll.table

        q = self._handle_simple_filters(q)
        q = self._handle_spatial_filters(coll, q)
        q = self._handle_aggregations(q)
        q = self._handle_limits(q)

        return [x for x in coll.q(q)]
dataset/ETHPy150Open JeffHeard/sondra/sondra/api.py/APIRequest.get_collection_items/swapped operands of `in`