From cea5237e6ce9deadce5db71c533742f54d0d05f0 Mon Sep 17 00:00:00 2001 From: Ryan Lim Date: Mon, 30 Sep 2024 11:43:30 -0400 Subject: [PATCH] remove oveeride of api settings in get_app --- platformics/graphql_api/setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/platformics/graphql_api/setup.py b/platformics/graphql_api/setup.py index 43110aa..0c98118 100644 --- a/platformics/graphql_api/setup.py +++ b/platformics/graphql_api/setup.py @@ -56,7 +56,6 @@ def get_app(settings: APISettings, schema: strawberry.Schema, db_module: typing. """ File.set_settings(settings) File.set_s3_client(get_s3_client(settings)) - settings = APISettings.model_validate({}) # Workaround for https://github.com/pydantic/pydantic/issues/3753 title = settings.SERVICE_NAME graphql_app: GraphQLRouter = GraphQLRouter(schema, context_getter=get_context)