We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e859f45 commit 3f02765Copy full SHA for 3f02765
{{cookiecutter.project_slug}}/backend/app/app/core/config.py
@@ -34,11 +34,11 @@ class Settings(BaseSettings):
34
PROJECT_NAME: str
35
SENTRY_DSN: HttpUrl | None = None
36
37
- @field_validator("SENTRY_DSN", mode="before")
38
- def sentry_dsn_can_be_blank(cls, v: str) -> str | None:
39
- if isinstance(v, str) and len(v) == 0:
40
- return None
41
- return v
+ # @field_validator("SENTRY_DSN", mode="before")
+ # def sentry_dsn_can_be_blank(cls, v: str) -> str | None:
+ # if isinstance(v, str) and len(v) == 0:
+ # return None
+ # # return v
42
43
# GENERAL SETTINGS
44
0 commit comments