spakky-fastapi 1.2.0__tar.gz → 1.2.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spakky-fastapi
3
- Version: 1.2.0
3
+ Version: 1.2.2
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
@@ -35,6 +35,9 @@ Description-Content-Type: text/markdown
35
35
  <a href="https://github.com/psf/black">
36
36
  <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Black">
37
37
  </a>
38
+ <a href="https://github.com/pylint-dev/pylint">
39
+ <img src="https://img.shields.io/badge/linting-pylint-yellowgreen" alt="Pylint">
40
+ </a>
38
41
  </p>
39
42
 
40
43
  ---
@@ -18,6 +18,9 @@
18
18
  <a href="https://github.com/psf/black">
19
19
  <img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Black">
20
20
  </a>
21
+ <a href="https://github.com/pylint-dev/pylint">
22
+ <img src="https://img.shields.io/badge/linting-pylint-yellowgreen" alt="Pylint">
23
+ </a>
21
24
  </p>
22
25
 
23
26
  ---
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "spakky-fastapi"
3
- version = "1.2.0"
3
+ version = "1.2.2"
4
4
  description = "Highly abstracted Framework core to use DDD & DI/IoC & AOP & Etc..."
5
5
  authors = ["Spakky <sejong418@icloud.com>"]
6
6
  readme = "README.md"
@@ -37,7 +37,7 @@ target-version = ["py312"]
37
37
  include = '\.pyi?$'
38
38
 
39
39
  [tool.isort]
40
- py_version = 311
40
+ py_version = 310
41
41
  src_paths = ["spakky_fastapi", "tests"]
42
42
  skip = [".venv", ".gitignore", ".dockerignore"]
43
43
  extend_skip = [".md", ".json", ".txt"]
@@ -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 FastAPIBeanPostProcessor
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
- FastAPIBeanPostProcessor(
20
+ FastAPIPostProcessor(
21
21
  self.app,
22
22
  self.logger,
23
23
  )
@@ -17,7 +17,7 @@ from spakky_fastapi.stereotypes.api_controller import (
17
17
 
18
18
 
19
19
  @Order(1)
20
- class FastAPIBeanPostProcessor(IPodPostProcessor):
20
+ class FastAPIPostProcessor(IPodPostProcessor):
21
21
  __app: FastAPI
22
22
  __logger: Logger
23
23