spakky-fastapi 1.1.4__py3-none-any.whl → 1.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.
- spakky_fastapi/aspects/authenticate.py +1 -1
- spakky_fastapi/plugins/fast_api.py +2 -2
- spakky_fastapi/post_processor.py +1 -1
- {spakky_fastapi-1.1.4.dist-info → spakky_fastapi-1.2.1.dist-info}/METADATA +2 -2
- {spakky_fastapi-1.1.4.dist-info → spakky_fastapi-1.2.1.dist-info}/RECORD +6 -6
- {spakky_fastapi-1.1.4.dist-info → spakky_fastapi-1.2.1.dist-info}/WHEEL +0 -0
@@ -5,9 +5,9 @@ from dataclasses import InitVar, field, dataclass
|
|
5
5
|
|
6
6
|
from fastapi import Depends
|
7
7
|
from fastapi.security import OAuth2PasswordBearer
|
8
|
-
from spakky.aop.advice import Around
|
9
8
|
from spakky.aop.aspect import Aspect, AsyncAspect, IAspect, IAsyncAspect
|
10
9
|
from spakky.aop.error import SpakkyAOPError
|
10
|
+
from spakky.aop.pointcut import Around
|
11
11
|
from spakky.core.annotation import FunctionAnnotation
|
12
12
|
from spakky.core.types import AsyncFunc, Func, P
|
13
13
|
from spakky.pod.order import Order
|
@@ -4,7 +4,7 @@ from fastapi import FastAPI
|
|
4
4
|
from spakky.application.interfaces.pluggable import IPluggable
|
5
5
|
from spakky.application.interfaces.registry import IPodRegistry
|
6
6
|
|
7
|
-
from spakky_fastapi.post_processor import
|
7
|
+
from spakky_fastapi.post_processor import FastAPIPostProcessor
|
8
8
|
|
9
9
|
|
10
10
|
class FastAPIPlugin(IPluggable):
|
@@ -17,7 +17,7 @@ class FastAPIPlugin(IPluggable):
|
|
17
17
|
|
18
18
|
def register(self, registry: IPodRegistry) -> None:
|
19
19
|
registry.register_post_processor(
|
20
|
-
|
20
|
+
FastAPIPostProcessor(
|
21
21
|
self.app,
|
22
22
|
self.logger,
|
23
23
|
)
|
spakky_fastapi/post_processor.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: spakky-fastapi
|
3
|
-
Version: 1.1
|
3
|
+
Version: 1.2.1
|
4
4
|
Summary: Highly abstracted Framework core to use DDD & DI/IoC & AOP & Etc...
|
5
5
|
Author: Spakky
|
6
6
|
Author-email: sejong418@icloud.com
|
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
12
12
|
Requires-Dist: fastapi (>=0.109.2,<0.110.0)
|
13
13
|
Requires-Dist: orjson (>=3.9.15,<4.0.0)
|
14
|
-
Requires-Dist: spakky-core (>=1.
|
14
|
+
Requires-Dist: spakky-core (>=1.2,<2.0)
|
15
15
|
Requires-Dist: websockets (>=12.0,<13.0)
|
16
16
|
Description-Content-Type: text/markdown
|
17
17
|
|
@@ -1,16 +1,16 @@
|
|
1
1
|
spakky_fastapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
spakky_fastapi/aspects/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
|
-
spakky_fastapi/aspects/authenticate.py,sha256=
|
3
|
+
spakky_fastapi/aspects/authenticate.py,sha256=Nzyh7iVJy5OmQ3x2ZCPobhPNWgvK604IHaN0pmTdjkI,3997
|
4
4
|
spakky_fastapi/error.py,sha256=SWyNZk1kxbTCiy-tLxB8saLpX5rBxwvy7q7JRCtNQV0,1124
|
5
5
|
spakky_fastapi/middlewares/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
6
|
spakky_fastapi/middlewares/error_handling.py,sha256=09cLArDGsN4mMIcC3qWr3SGivLfA6rUQ0PaRwQIT-YA,1816
|
7
7
|
spakky_fastapi/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
spakky_fastapi/plugins/authenticate.py,sha256=63tsHFjEzHklsmNyjPoksqiwiwo04h1dJjpzJq9pRf0,434
|
9
|
-
spakky_fastapi/plugins/fast_api.py,sha256=
|
10
|
-
spakky_fastapi/post_processor.py,sha256=
|
9
|
+
spakky_fastapi/plugins/fast_api.py,sha256=K09znsenVDu7t-NNPSRtNxX7nzutDxBJqUGy20yT3oM,645
|
10
|
+
spakky_fastapi/post_processor.py,sha256=viHvWb_IWB1nnD4SHnCEwFgg8Wc25FV0q81UO5FqWUg,2976
|
11
11
|
spakky_fastapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
spakky_fastapi/stereotypes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
spakky_fastapi/stereotypes/api_controller.py,sha256=NM0gyTQfuHnENtvyfm5T9Y427gQdxdUcVYDzAXryF2M,19320
|
14
|
-
spakky_fastapi-1.1.
|
15
|
-
spakky_fastapi-1.1.
|
16
|
-
spakky_fastapi-1.1.
|
14
|
+
spakky_fastapi-1.2.1.dist-info/METADATA,sha256=9splG2xWH1dCqEZsy1v_gcBA2vp4inqBv9dP-Mzrbmg,1703
|
15
|
+
spakky_fastapi-1.2.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
16
|
+
spakky_fastapi-1.2.1.dist-info/RECORD,,
|
File without changes
|