Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Sep 18, 2023
1 parent edcc48d commit 5492d75
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/aidbox/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
from fhirpy import AsyncFHIRClient
from fhirpy.base import AsyncClient

from app.converter import env_to_first_class_extension

from ..sdc.utils import parameter_to_env as parameter_to_env_original
from .sdk import sdk


Expand Down Expand Up @@ -53,15 +50,6 @@ def get_clients(operation, request):
return is_fhir, aidbox_client, fhir_client, fhir_client if is_fhir else aidbox_client


def parameter_to_env(resource, is_fhir):
env = None
if is_fhir:
env = env_to_first_class_extension(resource)
else:
env = parameter_to_env_original(resource)
return env


@dataclass
class AidboxSdcRequest:
"""
Expand Down

0 comments on commit 5492d75

Please sign in to comment.