🔥 refactor(settings.py): remove commented out code for setting default database URL
The commented out code was unnecessary and cluttered the codebase. Removing it improves readability and maintainability of the code.
This commit is contained in:
parent
94cd8703b3
commit
4c8c3528de
1 changed files with 0 additions and 3 deletions
|
|
@ -25,9 +25,6 @@ class Settings(BaseSettings):
|
|||
cache: str = "InMemoryCache"
|
||||
remove_api_keys: bool = False
|
||||
|
||||
# Create a root validator pre that will add the default
|
||||
# sqlite database_url if not provided
|
||||
# but check the DATABASE_URL env variable first
|
||||
@root_validator(pre=True)
|
||||
def set_database_url(cls, values):
|
||||
if "database_url" not in values:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue