def _query_objects(self, pipeline_id, query):
    paginator = self.client.get_paginator('query_objects').paginate(pipelineId=pipeline_id, sphere='INSTANCE', query=query)
    parsed = paginator.build_full_result()
    return parsed['ids']
def _query_objects(self, pipeline_id, query):
    paginator = self.client.get_paginator('query_objects').paginate(pipelineId=pipeline_id, sphere='INSTANCE', query=query)
    parsed = paginator.build_full_result()
    return parsed['ids']