maleo-foundation 0.1.99__py3-none-any.whl → 0.2.1__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 +11 -2
- {maleo_foundation-0.1.99.dist-info → maleo_foundation-0.2.1.dist-info}/METADATA +1 -1
- {maleo_foundation-0.1.99.dist-info → maleo_foundation-0.2.1.dist-info}/RECORD +5 -5
- {maleo_foundation-0.1.99.dist-info → maleo_foundation-0.2.1.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.1.99.dist-info → maleo_foundation-0.2.1.dist-info}/top_level.txt +0 -0
@@ -16,7 +16,15 @@ from maleo_foundation.models.transfers.parameters.token import MaleoFoundationTo
|
|
16
16
|
from maleo_foundation.managers.db import DatabaseConfigurations, DatabaseManager
|
17
17
|
from maleo_foundation.managers.client.google.secret import GoogleSecretManager
|
18
18
|
from maleo_foundation.managers.client.google.storage import GoogleCloudStorage
|
19
|
-
from maleo_foundation.managers.middleware import
|
19
|
+
from maleo_foundation.managers.middleware import (
|
20
|
+
MiddlewareConfigurations,
|
21
|
+
BaseMiddlewareConfigurations,
|
22
|
+
CORSMiddlewareConfigurations,
|
23
|
+
GeneralMiddlewareConfigurations,
|
24
|
+
MiddlewareLoggers,
|
25
|
+
MiddlewareManager
|
26
|
+
)
|
27
|
+
from maleo_foundation.types import BaseTypes
|
20
28
|
from maleo_foundation.utils.exceptions import BaseExceptions
|
21
29
|
from maleo_foundation.utils.loaders.yaml import YAMLLoader
|
22
30
|
from maleo_foundation.utils.logging import SimpleConfig, ServiceLogger, MiddlewareLogger
|
@@ -28,6 +36,7 @@ class Settings(BaseSettings):
|
|
28
36
|
GOOGLE_CREDENTIALS_PATH:str = Field("credentials/maleo-google-service-account.json", description="Internal credential's file path")
|
29
37
|
STATIC_CONFIGURATIONS_PATH:str = Field("configs/static.yaml", description="Maleo's static configurations path")
|
30
38
|
RUNTIME_CONFIGURATIONS_PATH:str = Field("configs/runtime.yaml", description="Service's runtime configurations path")
|
39
|
+
TOKEN_MANAGER_URL:str = Field(..., description="Maleo Token's manager")
|
31
40
|
|
32
41
|
class MaleoCredentials(BaseModel):
|
33
42
|
username:str = Field(..., description="Username")
|
@@ -246,7 +255,7 @@ class ServiceManager:
|
|
246
255
|
def foundation(self) -> MaleoFoundationClientManager:
|
247
256
|
return self._foundation
|
248
257
|
|
249
|
-
async def generate_token(self) ->
|
258
|
+
async def generate_token(self) -> BaseTypes.OptionalString:
|
250
259
|
raise NotImplementedError()
|
251
260
|
|
252
261
|
@property
|
@@ -32,7 +32,7 @@ maleo_foundation/expanded_types/encryption/rsa.py,sha256=MuhB_DGrjnsl4t96W4pKuCt
|
|
32
32
|
maleo_foundation/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
33
|
maleo_foundation/managers/db.py,sha256=Pn5EZ-c1Hy6-BihN7KokHJWmBIt3Ty96fZ0zF-srtF4,5208
|
34
34
|
maleo_foundation/managers/middleware.py,sha256=ODIQU1Hpu-Xempjjo_VRbVtxiD5oi74mNuoWuDawRh0,4250
|
35
|
-
maleo_foundation/managers/service.py,sha256=
|
35
|
+
maleo_foundation/managers/service.py,sha256=bOMhdW4wLsGTZoMzxK98hcBkwrNEniJt8Tz1IEaq9u0,16045
|
36
36
|
maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
37
|
maleo_foundation/managers/client/base.py,sha256=5z9l2GN4QASF0-Lft8o5QQ3SRPXqeNZNT1S1CgaE764,4384
|
38
38
|
maleo_foundation/managers/client/maleo.py,sha256=iCM47TLL-RSQ2FkTmHVPdsb2JCd1LebMx6OJvIr4vCQ,2035
|
@@ -107,7 +107,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
|
|
107
107
|
maleo_foundation/utils/loaders/credential/google.py,sha256=deksZXT5wPhEsSMHbZ3x05WHXxCjLDt76Ns-1Tmhp7g,948
|
108
108
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
|
109
109
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
|
110
|
-
maleo_foundation-0.1.
|
111
|
-
maleo_foundation-0.1.
|
112
|
-
maleo_foundation-0.1.
|
113
|
-
maleo_foundation-0.1.
|
110
|
+
maleo_foundation-0.2.1.dist-info/METADATA,sha256=O1gg9sluKSRaVMyt01fVZUBWlkI_xo9XMn0Hy-22T2I,3418
|
111
|
+
maleo_foundation-0.2.1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
|
112
|
+
maleo_foundation-0.2.1.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
113
|
+
maleo_foundation-0.2.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|