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.
@@ -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 create_response_field # type: ignore
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
- create_response_field("", return_annotation)
52
+ create_model_field("", return_annotation)
53
53
  except FastAPIError:
54
54
  pass
55
55
  else:
@@ -503,6 +503,6 @@ def websocket(
503
503
  )
504
504
 
505
505
 
506
- @dataclass
506
+ @dataclass(eq=False)
507
507
  class ApiController(Controller):
508
508
  tags: list[str | Enum] | None = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spakky-fastapi
3
- Version: 1.6.3
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.109.2,<0.110.0)
13
- Requires-Dist: orjson (>=3.9.15,<4.0.0)
14
- Requires-Dist: spakky-core (>=1.6,<2.0)
15
- Requires-Dist: websockets (>=12.0,<13.0)
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=viHvWb_IWB1nnD4SHnCEwFgg8Wc25FV0q81UO5FqWUg,2976
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=NM0gyTQfuHnENtvyfm5T9Y427gQdxdUcVYDzAXryF2M,19320
14
- spakky_fastapi-1.6.3.dist-info/METADATA,sha256=6FGe20gqns7mLrrbqEFI2lCprpFX2hIJZXlyUSSjCpA,1853
15
- spakky_fastapi-1.6.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
16
- spakky_fastapi-1.6.3.dist-info/RECORD,,
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,,