We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83a843b commit 36bcf63Copy full SHA for 36bcf63
1 file changed
lite_bootstrap/bootstrappers/litestar_bootstrapper.py
@@ -98,7 +98,7 @@ class LitestarConfig(
98
SentryConfig,
99
SwaggerConfig,
100
):
101
- application_config: "AppConfig" = dataclasses.field(default_factory=AppConfig)
+ application_config: "AppConfig" = dataclasses.field(default_factory=lambda: AppConfig()) # noqa: PLW0108
102
opentelemetry_excluded_urls: list[str] = dataclasses.field(default_factory=list)
103
prometheus_additional_params: dict[str, typing.Any] = dataclasses.field(default_factory=dict)
104
swagger_extra_params: dict[str, typing.Any] = dataclasses.field(default_factory=dict)
0 commit comments