Skip to content

Commit 4b67947

Browse files
committed
ruff
1 parent 3a94f8e commit 4b67947

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lambdas/backend/src/controller/fhir_api_exception_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing import Callable, Type
66

77
from common.clients import logger
8-
from common.models.constants import GENERIC_SERVER_ERROR_DIAGNOSTICS_MESSAGE
98
from common.models.api_errors import (
109
Code,
1110
InconsistentIdentifierError,
@@ -20,6 +19,7 @@
2019
UnhandledResponseError,
2120
create_operation_outcome,
2221
)
22+
from common.models.constants import GENERIC_SERVER_ERROR_DIAGNOSTICS_MESSAGE
2323
from common.models.errors import (
2424
CustomValidationError,
2525
IdentifierDuplicationError,

lambdas/backend/src/search_imms_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
from aws_lambda_typing import context as context_
1010
from aws_lambda_typing import events
1111

12-
from common.models.constants import GENERIC_SERVER_ERROR_DIAGNOSTICS_MESSAGE, MAX_RESPONSE_SIZE_BYTES
1312
from common.models.api_errors import Code, Severity, create_operation_outcome
13+
from common.models.constants import GENERIC_SERVER_ERROR_DIAGNOSTICS_MESSAGE, MAX_RESPONSE_SIZE_BYTES
1414
from controller.aws_apig_response_utils import create_response
1515
from controller.fhir_controller import FhirController, make_controller
1616
from log_structure import function_info

lambdas/backend/tests/service/test_fhir_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

1414
from authorisation.api_operation_code import ApiOperationCode
1515
from authorisation.authoriser import Authoriser
16-
from common.models.constants import NHS_NUMBER_USED_IN_SAMPLE_DATA
1716
from common.models.api_errors import (
1817
InconsistentIdentifierError,
1918
InconsistentResourceVersion,
2019
UnauthorizedVaxError,
2120
)
21+
from common.models.constants import NHS_NUMBER_USED_IN_SAMPLE_DATA
2222
from common.models.errors import (
2323
CustomValidationError,
2424
IdentifierDuplicationError,

lambdas/backend/tests/test_search_imms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from pathlib import Path
44
from unittest.mock import create_autospec, patch
55

6-
from common.models.constants import GENERIC_SERVER_ERROR_DIAGNOSTICS_MESSAGE
76
from common.models.api_errors import Code, Severity, create_operation_outcome
7+
from common.models.constants import GENERIC_SERVER_ERROR_DIAGNOSTICS_MESSAGE
88
from controller.fhir_controller import FhirController
99
from search_imms_handler import search_imms
1010

0 commit comments

Comments
 (0)