Skip to content

Commit

Permalink
chore: Remove override of api settings in get_app (#109)
Browse files Browse the repository at this point in the history
remove oveeride of api settings in get_app
  • Loading branch information
rzlim08 authored Sep 30, 2024
1 parent 791d439 commit c8b323a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion platformics/graphql_api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c8b323a

Please sign in to comment.