Skip to content

Commit

Permalink
Move import and remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinphippsstfc authored and MRichards99 committed Oct 2, 2024
1 parent dca658f commit c5325b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datagateway_api/src/datagateway_api/icat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from cachetools import cached
from dateutil.tz import tzlocal
from datagateway_api.src.common.config import Config
from icat.exception import (
ICATInternalError,
ICATNoObjectError,
Expand All @@ -14,6 +13,7 @@
ICATValidationError,
)

from datagateway_api.src.common.config import Config
from datagateway_api.src.common.date_handler import DateHandler
from datagateway_api.src.common.exceptions import (
AuthenticationError,
Expand Down Expand Up @@ -386,7 +386,7 @@ def execute_entity_query(client, entity_type, filters, aggregate=None):

def is_use_reader_for_performance_enabled():
"""
Returns true is the 'use_reader_for_performance' section is present in the
Returns true is the 'use_reader_for_performance' section is present in the
config file and 'enabled' in that section is set to true
"""
reader_config = Config.config.datagateway_api.use_reader_for_performance
Expand Down

0 comments on commit c5325b0

Please sign in to comment.