Skip to content

Commit b7b6ec1

Browse files
committed
sonar issues
1 parent 716bfe4 commit b7b6ec1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

backend/src/fhir_controller.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,14 @@
44
import os
55
import re
66
import uuid
7-
from botocore.config import Config
87
from decimal import Decimal
98
from typing import Optional
109
import boto3
1110
from aws_lambda_typing.events import APIGatewayProxyEventV1
12-
from botocore.config import Config
1311
from fhir.resources.R4B.immunization import Immunization
1412
from boto3 import client as boto3_client
1513

1614
from authorization import Authorization, UnknownPermission
17-
from cache import Cache
1815
from fhir_repository import ImmunizationRepository, create_table
1916
from fhir_service import FhirService, UpdateOutcome, get_service_url
2017
from models.errors import (
@@ -47,8 +44,6 @@ def make_controller(
4744
):
4845
endpoint_url = "http://localhost:4566" if immunization_env == "local" else None
4946
imms_repo = ImmunizationRepository(create_table(endpoint_url=endpoint_url))
50-
boto_config = Config(region_name="eu-west-2")
51-
cache = Cache(directory="/tmp")
5247

5348
authorizer = Authorization()
5449
service = FhirService(imms_repo=imms_repo)

0 commit comments

Comments
 (0)