We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83a843b + 36bcf63 commit 0c0bc19Copy full SHA for 0c0bc19
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