From 36bcf6364e301dea7249bf79bd24f145a540bebc Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Wed, 8 Apr 2026 13:18:39 +0300 Subject: [PATCH] fix litestar imports --- lite_bootstrap/bootstrappers/litestar_bootstrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lite_bootstrap/bootstrappers/litestar_bootstrapper.py b/lite_bootstrap/bootstrappers/litestar_bootstrapper.py index 7f5cc77..5b9e7b2 100644 --- a/lite_bootstrap/bootstrappers/litestar_bootstrapper.py +++ b/lite_bootstrap/bootstrappers/litestar_bootstrapper.py @@ -98,7 +98,7 @@ class LitestarConfig( SentryConfig, SwaggerConfig, ): - application_config: "AppConfig" = dataclasses.field(default_factory=AppConfig) + application_config: "AppConfig" = dataclasses.field(default_factory=lambda: AppConfig()) # noqa: PLW0108 opentelemetry_excluded_urls: list[str] = dataclasses.field(default_factory=list) prometheus_additional_params: dict[str, typing.Any] = dataclasses.field(default_factory=dict) swagger_extra_params: dict[str, typing.Any] = dataclasses.field(default_factory=dict)