maleo-foundation 0.1.20__py3-none-any.whl → 0.1.21__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/middleware.py +2 -8
- {maleo_foundation-0.1.20.dist-info → maleo_foundation-0.1.21.dist-info}/METADATA +1 -1
- {maleo_foundation-0.1.20.dist-info → maleo_foundation-0.1.21.dist-info}/RECORD +5 -5
- {maleo_foundation-0.1.20.dist-info → maleo_foundation-0.1.21.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.1.20.dist-info → maleo_foundation-0.1.21.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
from fastapi import FastAPI
|
2
2
|
from pydantic import BaseModel, Field
|
3
|
-
from typing import List, Optional
|
3
|
+
from typing import List, Optional
|
4
4
|
from maleo_foundation.middlewares.authentication import Backend, add_authentication_middleware
|
5
5
|
from maleo_foundation.middlewares.base import add_base_middleware, RequestProcessor
|
6
6
|
from maleo_foundation.middlewares.cors import add_cors_middleware
|
@@ -49,13 +49,7 @@ class MiddlewareManager:
|
|
49
49
|
authentication_backend:Optional[Backend] = None,
|
50
50
|
request_processor:Optional[RequestProcessor] = None
|
51
51
|
):
|
52
|
-
self.add_cors(
|
53
|
-
allow_origins=self._configurations.general.allow_origins,
|
54
|
-
allow_methods=self._configurations.general.allow_methods,
|
55
|
-
allow_headers=self._configurations.general.allow_headers,
|
56
|
-
allow_credentials=self._configurations.general.allow_credentials,
|
57
|
-
expose_headers=self._configurations.cors.expose_headers
|
58
|
-
)
|
52
|
+
self.add_cors()
|
59
53
|
self.add_base(
|
60
54
|
logger=loggers.base,
|
61
55
|
allow_origins=self._configurations.general.allow_origins,
|
@@ -31,7 +31,7 @@ maleo_foundation/expanded_types/service.py,sha256=q8jpKdbCbLWwH1UPQavKpVE14rC5rv
|
|
31
31
|
maleo_foundation/expanded_types/token.py,sha256=4fRTJw6W5MYq71NksNrWNi7qYHQ4_lQwfu9WxwrMipc,355
|
32
32
|
maleo_foundation/managers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
33
|
maleo_foundation/managers/db.py,sha256=Jf0w-9JOAG5X2quDxqqw6d2WUIX7MYGdlPGxWP0rxHs,4699
|
34
|
-
maleo_foundation/managers/middleware.py,sha256=
|
34
|
+
maleo_foundation/managers/middleware.py,sha256=lmlXpUN66PhOzaqu-u11VcUD0meTDU0ZNvtAmEHuD8E,5086
|
35
35
|
maleo_foundation/managers/service.py,sha256=RSjaJDjrvzfTE2z0IYpzJMKYnl4BFaF7UEPl3uupH5k,19215
|
36
36
|
maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
37
|
maleo_foundation/managers/client/base.py,sha256=K8AFV2MTZrC1jbTqxkx7eedmxodJirNIjoRXGGcppy4,1022
|
@@ -83,7 +83,7 @@ maleo_foundation/utils/logging.py,sha256=MwvZmZSA8SIdfq-knEvpYIgqnSpHcyHrZY9TVHW
|
|
83
83
|
maleo_foundation/utils/query.py,sha256=ODQ3adOYQNj5E2cRW9ytbjBz56nEDcnfq8mQ6YZbCCM,4375
|
84
84
|
maleo_foundation/utils/formatter/__init__.py,sha256=iKf5YCbEdg1qKnFHyKqqcQbqAqEeRUf8mhI3v3dQoj8,78
|
85
85
|
maleo_foundation/utils/formatter/case.py,sha256=TmvvlfzGdC_omMTB5vAa40TZBxQ3hnr-SYeo0M52Rlg,1352
|
86
|
-
maleo_foundation-0.1.
|
87
|
-
maleo_foundation-0.1.
|
88
|
-
maleo_foundation-0.1.
|
89
|
-
maleo_foundation-0.1.
|
86
|
+
maleo_foundation-0.1.21.dist-info/METADATA,sha256=t2pn-zWyUPUUJU13xcpM0H4ipGlP7FJyfXq9MC_CA6Q,3190
|
87
|
+
maleo_foundation-0.1.21.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
88
|
+
maleo_foundation-0.1.21.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
89
|
+
maleo_foundation-0.1.21.dist-info/RECORD,,
|
File without changes
|
File without changes
|