spakky-fastapi 1.1.2__py3-none-any.whl → 1.1.4__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.
@@ -31,7 +31,6 @@ class FastAPIBeanPostProcessor(IPodPostProcessor):
31
31
  return pod
32
32
  controller = ApiController.get(pod)
33
33
  router: APIRouter = APIRouter(prefix=controller.prefix, tags=controller.tags)
34
- print(f"CONTROLLER {type(pod).__name__}")
35
34
  for name, method in getmembers(pod, callable):
36
35
  route: Route | None = Route.get_or_none(method)
37
36
  websocket_route: WebSocketRoute | None = WebSocketRoute.get_or_none(method)
@@ -58,9 +57,9 @@ class FastAPIBeanPostProcessor(IPodPostProcessor):
58
57
  router.add_api_route(endpoint=method, **asdict(route))
59
58
  if websocket_route is not None:
60
59
  # pylint: disable=line-too-long
61
- # self.__logger.info(
62
- # f"[{type(self).__name__}] [WebSocket] {controller.prefix}{websocket_route.path} -> {method.__qualname__}"
63
- # )
60
+ self.__logger.info(
61
+ f"[{type(self).__name__}] [WebSocket] {controller.prefix}{websocket_route.path} -> {method.__qualname__}"
62
+ )
64
63
  if websocket_route.name is None:
65
64
  websocket_route.name = " ".join(
66
65
  [x.capitalize() for x in name.split("_")]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spakky-fastapi
3
- Version: 1.1.2
3
+ Version: 1.1.4
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.1.2,<2.0.0)
14
+ Requires-Dist: spakky-core (>=1.1,<2.0)
15
15
  Requires-Dist: websockets (>=12.0,<13.0)
16
16
  Description-Content-Type: text/markdown
17
17
 
@@ -7,10 +7,10 @@ spakky_fastapi/middlewares/error_handling.py,sha256=09cLArDGsN4mMIcC3qWr3SGivLfA
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=07tXOukory435Aw_EbGnbQUKSNEVq5AhZ078Lv_6nBc,653
10
- spakky_fastapi/post_processor.py,sha256=auD0iLTYkQoQkIC3WbUoOd6hTLMtd2Bu8qeqUn2ZeCg,3036
10
+ spakky_fastapi/post_processor.py,sha256=v8WPabfbp4WE80tbGkcMowZBa2AyJzS5fyc6RoroJn4,2980
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.2.dist-info/METADATA,sha256=JydHlA_nEMCvSOOL7riiyzHE6hd31JJTAzrh-Kkj4zI,1707
15
- spakky_fastapi-1.1.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
16
- spakky_fastapi-1.1.2.dist-info/RECORD,,
14
+ spakky_fastapi-1.1.4.dist-info/METADATA,sha256=bJZEp-4JotrBhXJh99CsCLoDMIGALDgh6rwxZTHxB1g,1703
15
+ spakky_fastapi-1.1.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
16
+ spakky_fastapi-1.1.4.dist-info/RECORD,,