spakky-fastapi 1.6.3__py3-none-any.whl → 1.7.0__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/post_processor.py +2 -2
- spakky_fastapi/stereotypes/api_controller.py +1 -1
- {spakky_fastapi-1.6.3.dist-info → spakky_fastapi-1.7.0.dist-info}/METADATA +5 -5
- {spakky_fastapi-1.6.3.dist-info → spakky_fastapi-1.7.0.dist-info}/RECORD +5 -5
- {spakky_fastapi-1.6.3.dist-info → spakky_fastapi-1.7.0.dist-info}/WHEEL +0 -0
spakky_fastapi/post_processor.py
CHANGED
@@ -4,7 +4,7 @@ from dataclasses import asdict
|
|
4
4
|
|
5
5
|
from fastapi import APIRouter, FastAPI
|
6
6
|
from fastapi.exceptions import FastAPIError
|
7
|
-
from fastapi.utils import
|
7
|
+
from fastapi.utils import create_model_field # type: ignore
|
8
8
|
from spakky.application.interfaces.container import IPodContainer
|
9
9
|
from spakky.application.interfaces.post_processor import IPodPostProcessor
|
10
10
|
from spakky.pod.order import Order
|
@@ -49,7 +49,7 @@ class FastAPIPostProcessor(IPodPostProcessor):
|
|
49
49
|
return_annotation: type | None = signature(method).return_annotation
|
50
50
|
if return_annotation is not None:
|
51
51
|
try:
|
52
|
-
|
52
|
+
create_model_field("", return_annotation)
|
53
53
|
except FastAPIError:
|
54
54
|
pass
|
55
55
|
else:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: spakky-fastapi
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.7.0
|
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
|
@@ -9,10 +9,10 @@ Classifier: Programming Language :: Python :: 3
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.10
|
10
10
|
Classifier: Programming Language :: Python :: 3.11
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
12
|
-
Requires-Dist: fastapi (>=0.
|
13
|
-
Requires-Dist: orjson (>=3.
|
14
|
-
Requires-Dist: spakky-core (>=1.
|
15
|
-
Requires-Dist: websockets (>=
|
12
|
+
Requires-Dist: fastapi (>=0.115.5,<0.116.0)
|
13
|
+
Requires-Dist: orjson (>=3.10.11,<4.0.0)
|
14
|
+
Requires-Dist: spakky-core (>=1.8,<2.0)
|
15
|
+
Requires-Dist: websockets (>=14.1,<15.0)
|
16
16
|
Description-Content-Type: text/markdown
|
17
17
|
|
18
18
|
<h1 align="center">Spakky FastAPI</h1>
|
@@ -7,10 +7,10 @@ spakky_fastapi/middlewares/error_handling.py,sha256=_ThkgNkDjVzegxz-QDpMxp1-grG1
|
|
7
7
|
spakky_fastapi/plugins/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
spakky_fastapi/plugins/authenticate.py,sha256=63tsHFjEzHklsmNyjPoksqiwiwo04h1dJjpzJq9pRf0,434
|
9
9
|
spakky_fastapi/plugins/fast_api.py,sha256=K09znsenVDu7t-NNPSRtNxX7nzutDxBJqUGy20yT3oM,645
|
10
|
-
spakky_fastapi/post_processor.py,sha256=
|
10
|
+
spakky_fastapi/post_processor.py,sha256=bwKkIRJrL6TwmIkV0pobkIRpjmCvhuYT6UOg1kbEHpg,2970
|
11
11
|
spakky_fastapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
spakky_fastapi/stereotypes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
spakky_fastapi/stereotypes/api_controller.py,sha256=
|
14
|
-
spakky_fastapi-1.
|
15
|
-
spakky_fastapi-1.
|
16
|
-
spakky_fastapi-1.
|
13
|
+
spakky_fastapi/stereotypes/api_controller.py,sha256=MuZPHEv41KNi2dhZOWCigBSBOp6_JZ6ZUgvNfHulvWU,19330
|
14
|
+
spakky_fastapi-1.7.0.dist-info/METADATA,sha256=3lmGxpIfMOY0tYBkj17_I3ZMTlqxys1BPfJM6HjYysM,1854
|
15
|
+
spakky_fastapi-1.7.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
16
|
+
spakky_fastapi-1.7.0.dist-info/RECORD,,
|
File without changes
|