abdullah-alnahas
commited on
Update config.py
Browse files
config.py
CHANGED
@@ -2,7 +2,7 @@ import logging
|
|
2 |
from functools import lru_cache
|
3 |
from typing import Union, Optional
|
4 |
from pydantic_settings import BaseSettings
|
5 |
-
from pydantic import SecretStr, PostgresDsn, DirectoryPath, Field,
|
6 |
|
7 |
logger = logging.getLogger(__name__)
|
8 |
|
@@ -27,7 +27,7 @@ class Settings(BaseSettings):
|
|
27 |
AB_TESTING_DB_NAME: str
|
28 |
AB_TESTING_DB_USER: str
|
29 |
AB_TESTING_DB_PASSWORD: SecretStr
|
30 |
-
AB_TESTING_DB_HOST:
|
31 |
AB_TESTING_DB_PORT: int
|
32 |
|
33 |
# A/B Testing environment variables
|
|
|
2 |
from functools import lru_cache
|
3 |
from typing import Union, Optional
|
4 |
from pydantic_settings import BaseSettings
|
5 |
+
from pydantic import SecretStr, PostgresDsn, DirectoryPath, Field, validator
|
6 |
|
7 |
logger = logging.getLogger(__name__)
|
8 |
|
|
|
27 |
AB_TESTING_DB_NAME: str
|
28 |
AB_TESTING_DB_USER: str
|
29 |
AB_TESTING_DB_PASSWORD: SecretStr
|
30 |
+
AB_TESTING_DB_HOST: str
|
31 |
AB_TESTING_DB_PORT: int
|
32 |
|
33 |
# A/B Testing environment variables
|