diff --git a/datagateway_api/src/datagateway_api/icat/reader_query_handler.py b/datagateway_api/src/datagateway_api/icat/reader_query_handler.py index f83c22a9..71429d95 100644 --- a/datagateway_api/src/datagateway_api/icat/reader_query_handler.py +++ b/datagateway_api/src/datagateway_api/icat/reader_query_handler.py @@ -25,7 +25,8 @@ def __init__(self, entity_type, filters): self.entity_type, ) self.reader_query_eligible = self.check_eligibility() - self.create_reader_client() + if not ReaderQueryHandler.reader_client: + self.create_reader_client() def create_reader_client(self): log.info("Creating reader_client")