maleo-foundation 0.1.39__tar.gz → 0.1.40__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/PKG-INFO +1 -1
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/service.py +2 -6
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation.egg-info/PKG-INFO +1 -1
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/pyproject.toml +1 -1
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/README.md +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/authentication.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/constants.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/enums.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/client.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/general.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/query.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/service.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/token.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/extended_types.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/base.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/google/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/google/base.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/google/secret.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/google/storage.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/maleo.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/db.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/middleware.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/middlewares/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/middlewares/authentication.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/middlewares/base.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/middlewares/cors.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/responses.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/general.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/parameter.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/result.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/token.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/table.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/general/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/general/token.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/parameters/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/parameters/client.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/parameters/general.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/parameters/service.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/parameters/token.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/client/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/client/controllers/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/client/controllers/http.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/client/service.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/service/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/service/controllers/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/service/controllers/rest.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/service/general.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/service/query.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/results/token.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/services/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/services/token.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/types.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/controller.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/exceptions.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/extractor.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/formatter/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/formatter/case.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/loaders/__init__.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/loaders/json.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/loaders/key.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/loaders/yaml.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/logging.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/query.py +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation.egg-info/SOURCES.txt +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation.egg-info/dependency_links.txt +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation.egg-info/requires.txt +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation.egg-info/top_level.txt +0 -0
- {maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/setup.cfg +0 -0
@@ -80,7 +80,6 @@ class ServiceConfigurations(BaseModel):
|
|
80
80
|
|
81
81
|
class DatabaseConfigurations(BaseModel):
|
82
82
|
username:str = Field("postgres", description="Database user's username")
|
83
|
-
password_env:str = Field("DB_PASSWORD", description="Database user's password .env")
|
84
83
|
password:str = Field(..., description="Database user's password")
|
85
84
|
host:str = Field(..., description="Database's host")
|
86
85
|
port:int = Field(5432, description="Database's port")
|
@@ -89,12 +88,9 @@ class DatabaseConfigurations(BaseModel):
|
|
89
88
|
@model_validator(mode='before')
|
90
89
|
@classmethod
|
91
90
|
def populate_password(cls, values:Dict):
|
92
|
-
|
93
|
-
if not env_name:
|
94
|
-
raise ValueError("password_env is required to fetch password from environment.")
|
95
|
-
env_value = os.getenv(env_name)
|
91
|
+
env_value = os.getenv("DB_PASSWORD")
|
96
92
|
if env_value is None:
|
97
|
-
raise ValueError(
|
93
|
+
raise ValueError("'DB_PASSWORD' environmet variable must be set.")
|
98
94
|
values["password"] = env_value
|
99
95
|
return values
|
100
96
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/client.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/general.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/query.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/service.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/expanded_types/token.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/base.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/google/base.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/managers/client/maleo.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/middlewares/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/middlewares/authentication.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/general.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/parameter.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/result.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/schemas/token.py
RENAMED
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/models/transfers/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/formatter/__init__.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/formatter/case.py
RENAMED
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation/utils/loaders/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{maleo_foundation-0.1.39 → maleo_foundation-0.1.40}/maleo_foundation.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|