diff --git a/emf/common/integrations/opdm.py b/emf/common/integrations/opdm.py index 25abb2d..7657ffd 100644 --- a/emf/common/integrations/opdm.py +++ b/emf/common/integrations/opdm.py @@ -27,15 +27,12 @@ def query(self, object_type, meta=None): # query_id, raw_response = self.query_object(object_type, meta) response = self.query_object(object_type, meta) - logger.info(f"{type(response)}") - logger.info(f"{response}") - query_id, raw_response = response[0], response[1] - response = raw_response['sm:QueryResult']['sm:part'][1:] + response = response['sm:QueryResult']['sm:part'][1:] if type(response) == str: response = [] - logger.info(f"Number of responses: {len(response)} for query {query_id}") + logger.info(f"Number of responses: {len(response)} for query") return response