Skip to content

Commit 3230ed7

Browse files
committed
Fixed merge conflicts
1 parent 54f7ae7 commit 3230ed7

File tree

8 files changed

+9
-106
lines changed

8 files changed

+9
-106
lines changed

backend/.gitignore

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
build
2-
.venv
3-
.direnv
4-
.env
5-
.envrc
6-
terraform.tfstate
7-
.python-version
2+
.venv

backend/src/fhir_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def get_immunization_by_identifier(
7676
base_url = f"{get_service_url()}/Immunization"
7777
response = form_json(imms_resp, element, identifier, base_url)
7878
return response
79-
79+
8080
def get_immunization_by_id(self, imms_id: str, imms_vax_type_perms: str) -> Optional[dict]:
8181
"""
8282
Get an Immunization by its ID. Return None if not found. If the patient doesn't have an NHS number,

backend/src/filter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def add_use_to_identifier(imms: dict) -> dict:
9494

9595
class Filter:
9696
"""Functions for filtering a FHIR Immunization Resource"""
97+
9798
@staticmethod
9899
def read(imms: dict) -> dict:
99100
"""Apply filtering for READ request"""

backend/src/get_imms_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def get_imms_handler(event, context):
1616

1717
def get_immunization_by_id(event, controller: FhirController):
1818
try:
19-
return controller.get_immunization_by_id(event)
19+
return controller.get_immunization_by_id(event)
2020
except Exception: # pylint: disable = broad-exception-caught
2121
exp_error = create_operation_outcome(
2222
resource_id=str(uuid.uuid4()),

backend/tests/test_fhir_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def setUp(self):
157157
self.pds_service = create_autospec(PdsService)
158158
self.validator = create_autospec(ImmunizationValidator)
159159
self.fhir_service = FhirService(self.imms_repo, self.pds_service, self.validator)
160-
160+
161161
def test_get_immunization_by_id(self):
162162
"""it should find an Immunization by id"""
163163
imms_id = "an-id"

devtools/.terraform.lock.hcl

Lines changed: 4 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/clear_dynamodb.py

Lines changed: 0 additions & 78 deletions
This file was deleted.

secret-key.asc

Whitespace-only changes.

0 commit comments

Comments
 (0)