python-cq 0.9.0__tar.gz → 0.9.1__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.
Files changed (25) hide show
  1. {python_cq-0.9.0 → python_cq-0.9.1}/PKG-INFO +1 -1
  2. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/handler.py +2 -2
  3. {python_cq-0.9.0 → python_cq-0.9.1}/pyproject.toml +1 -1
  4. {python_cq-0.9.0 → python_cq-0.9.1}/.gitignore +0 -0
  5. {python_cq-0.9.0 → python_cq-0.9.1}/LICENSE +0 -0
  6. {python_cq-0.9.0 → python_cq-0.9.1}/README.md +0 -0
  7. {python_cq-0.9.0 → python_cq-0.9.1}/cq/__init__.py +0 -0
  8. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/__init__.py +0 -0
  9. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/defer.py +0 -0
  10. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/__init__.py +0 -0
  11. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/base.py +0 -0
  12. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/bus.py +0 -0
  13. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/dispatcher/pipe.py +0 -0
  14. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/message.py +0 -0
  15. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/middleware.py +0 -0
  16. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/related_events.py +0 -0
  17. {python_cq-0.9.0 → python_cq-0.9.1}/cq/_core/scope.py +0 -0
  18. {python_cq-0.9.0 → python_cq-0.9.1}/cq/exceptions.py +0 -0
  19. {python_cq-0.9.0 → python_cq-0.9.1}/cq/ext/__init__.py +0 -0
  20. {python_cq-0.9.0 → python_cq-0.9.1}/cq/ext/fastapi.py +0 -0
  21. {python_cq-0.9.0 → python_cq-0.9.1}/cq/ext/fastapi.pyi +0 -0
  22. {python_cq-0.9.0 → python_cq-0.9.1}/cq/middlewares/__init__.py +0 -0
  23. {python_cq-0.9.0 → python_cq-0.9.1}/cq/middlewares/retry.py +0 -0
  24. {python_cq-0.9.0 → python_cq-0.9.1}/cq/middlewares/scope.py +0 -0
  25. {python_cq-0.9.0 → python_cq-0.9.1}/cq/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-cq
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary: Lightweight CQRS library for async Python projects.
5
5
  Project-URL: Repository, https://github.com/100nm/python-cq
6
6
  Author: remimd
@@ -151,8 +151,8 @@ class HandlerDecorator[I, O]:
151
151
 
152
152
 
153
153
  def _resolve_input_type[I, O](handler_type: HandlerType[[I], O]) -> type[I]:
154
- fake_handle_method = handler_type.handle.__get__(NotImplemented)
155
- signature = inspect_signature(fake_handle_method, eval_str=True)
154
+ fake_method = handler_type.handle.__get__(NotImplemented, handler_type)
155
+ signature = inspect_signature(fake_method, eval_str=True)
156
156
 
157
157
  for parameter in signature.parameters.values():
158
158
  input_type = parameter.annotation
@@ -23,7 +23,7 @@ test = [
23
23
 
24
24
  [project]
25
25
  name = "python-cq"
26
- version = "0.9.0"
26
+ version = "0.9.1"
27
27
  description = "Lightweight CQRS library for async Python projects."
28
28
  license = "MIT"
29
29
  license-files = ["LICENSE"]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes