maleo-foundation 0.1.56__py3-none-any.whl → 0.1.58__py3-none-any.whl
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/managers/service.py +3 -3
- {maleo_foundation-0.1.56.dist-info → maleo_foundation-0.1.58.dist-info}/METADATA +1 -1
- {maleo_foundation-0.1.56.dist-info → maleo_foundation-0.1.58.dist-info}/RECORD +5 -5
- {maleo_foundation-0.1.56.dist-info → maleo_foundation-0.1.58.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.1.56.dist-info → maleo_foundation-0.1.58.dist-info}/top_level.txt +0 -0
@@ -210,7 +210,7 @@ class ServiceManager:
|
|
210
210
|
self._runtime_configs = RuntimeConfigurations.model_validate(runtime_configurations)
|
211
211
|
|
212
212
|
def _initialize_secret_manager(self) -> None:
|
213
|
-
self._secret_manager = GoogleSecretManager(log_config=self._log_config, service_key=self._runtime_configs.service.key, credentials_path=self._settings.
|
213
|
+
self._secret_manager = GoogleSecretManager(log_config=self._log_config, service_key=self._runtime_configs.service.key, credentials_path=self._settings.GOOGLE_CREDENTIALS_PATH)
|
214
214
|
|
215
215
|
@property
|
216
216
|
def secret_manager(self) -> None:
|
@@ -219,7 +219,7 @@ class ServiceManager:
|
|
219
219
|
def _initialize_configs(self, environment:BaseEnums.EnvironmentType) -> None:
|
220
220
|
password = self._secret_manager.get(name=f"maleo-db-password-{environment}")
|
221
221
|
host = self._secret_manager.get(name=f"maleo-db-host-{environment}")
|
222
|
-
database = DatabaseConfigurations(password=password, host=host)
|
222
|
+
database = DatabaseConfigurations(password=password, host=host, database=self._runtime_configs.database)
|
223
223
|
merged_configs = BaseMergers.deep_merge(self._static_configs.model_dump(), self._runtime_configs.model_dump(exclude={"database"}), {"database": database.model_dump()})
|
224
224
|
self._configs = Configurations.model_validate(merged_configs)
|
225
225
|
|
@@ -260,7 +260,7 @@ class ServiceManager:
|
|
260
260
|
|
261
261
|
def _initialize_clients(self, environment:BaseEnums.EnvironmentType) -> None:
|
262
262
|
secret = self._secret_manager
|
263
|
-
storage = GoogleCloudStorage(log_config=self._log_config, service_key=self._runtime_configs.service.key, bucket_name=f"maleo-suite-{environment}", credentials_path=self._settings.
|
263
|
+
storage = GoogleCloudStorage(log_config=self._log_config, service_key=self._runtime_configs.service.key, bucket_name=f"maleo-suite-{environment}", credentials_path=self._settings.GOOGLE_CREDENTIALS_PATH)
|
264
264
|
self._google_clients = GoogleClientManagers(secret=secret, storage=storage)
|
265
265
|
foundation = MaleoFoundationClientManager(log_config=self._log_config, service_key=self._runtime_configs.service.key)
|
266
266
|
self._maleo_clients = MaleoClientManagers(foundation=foundation)
|
@@ -17,7 +17,7 @@ maleo_foundation/expanded_types/token.py,sha256=4fRTJw6W5MYq71NksNrWNi7qYHQ4_lQw
|
|
17
17
|
maleo_foundation/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
18
|
maleo_foundation/managers/db.py,sha256=Pn5EZ-c1Hy6-BihN7KokHJWmBIt3Ty96fZ0zF-srtF4,5208
|
19
19
|
maleo_foundation/managers/middleware.py,sha256=7CDXPMb28AR7J72TWOeKFxOlMypKezEtO9mr53a88B0,4032
|
20
|
-
maleo_foundation/managers/service.py,sha256=
|
20
|
+
maleo_foundation/managers/service.py,sha256=UI5aXIgVqTud4PtI5QCSFApOALdSvMhR9O3cMW1NqIE,16960
|
21
21
|
maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
maleo_foundation/managers/client/base.py,sha256=qfWu_wxoPSSzgZwuTEwRiXERg60diAkz65Qk3fnQej4,3972
|
23
23
|
maleo_foundation/managers/client/maleo.py,sha256=G6C0rn_5c1MEmnoZkJbyXptfoDEofgC5BwLzfQC4NEk,1886
|
@@ -72,7 +72,7 @@ maleo_foundation/utils/loaders/__init__.py,sha256=Dnuv7BWyglSddnbsFb96s-b3KaW7UK
|
|
72
72
|
maleo_foundation/utils/loaders/json.py,sha256=NsXLq3VZSgzmEf99tV1VtrmiudWdQ8Pzh_hI4Rm0cM8,397
|
73
73
|
maleo_foundation/utils/loaders/key.py,sha256=GZ4h1ONfp6Xx8-E8AWoGP4ajAZrwPhZRtidjn_u82Qg,2562
|
74
74
|
maleo_foundation/utils/loaders/yaml.py,sha256=jr8v3BlgmRCMTzdNgKhIYt1tnubaJXcDSSGkKVR8pbw,362
|
75
|
-
maleo_foundation-0.1.
|
76
|
-
maleo_foundation-0.1.
|
77
|
-
maleo_foundation-0.1.
|
78
|
-
maleo_foundation-0.1.
|
75
|
+
maleo_foundation-0.1.58.dist-info/METADATA,sha256=2v6z2KSrdB-M18eUxC-QhHJcv2Qw8Wxl44XwigX1NNo,3354
|
76
|
+
maleo_foundation-0.1.58.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
77
|
+
maleo_foundation-0.1.58.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
78
|
+
maleo_foundation-0.1.58.dist-info/RECORD,,
|
File without changes
|
File without changes
|