Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions project/app/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
import os
from functools import lru_cache

from pydantic import AnyUrl, BaseSettings
Expand All @@ -8,9 +7,9 @@


class Settings(BaseSettings):
environment: str = os.getenv("ENVIRONMENT", "dev")
testing: bool = os.getenv("TESTING", 0)
database_url: AnyUrl = os.environ.get("DATABASE_URL")
environment: str = "dev"
testing: bool = 0
database_url: AnyUrl = None


@lru_cache()
Expand Down