python-injection 0.10.5__tar.gz → 0.10.5.post0__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 (22) hide show
  1. {python_injection-0.10.5 → python_injection-0.10.5.post0}/PKG-INFO +1 -1
  2. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/__init__.pyi +2 -2
  3. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/module.py +2 -2
  4. {python_injection-0.10.5 → python_injection-0.10.5.post0}/pyproject.toml +1 -1
  5. {python_injection-0.10.5 → python_injection-0.10.5.post0}/README.md +0 -0
  6. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/__init__.py +0 -0
  7. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/__init__.py +0 -0
  8. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/common/__init__.py +0 -0
  9. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/common/event.py +0 -0
  10. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/common/invertible.py +0 -0
  11. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/common/lazy.py +0 -0
  12. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/common/threading.py +0 -0
  13. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/common/type.py +0 -0
  14. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/_core/hook.py +0 -0
  15. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/exceptions.py +0 -0
  16. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/integrations/__init__.py +0 -0
  17. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/integrations/blacksheep.py +0 -0
  18. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/integrations/fastapi.py +0 -0
  19. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/py.typed +0 -0
  20. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/testing/__init__.py +0 -0
  21. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/testing/__init__.pyi +0 -0
  22. {python_injection-0.10.5 → python_injection-0.10.5.post0}/injection/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-injection
3
- Version: 0.10.5
3
+ Version: 0.10.5.post0
4
4
  Summary: Fast and easy dependency injection framework.
5
5
  Home-page: https://github.com/100nm/python-injection
6
6
  License: MIT
@@ -97,9 +97,9 @@ class Module:
97
97
  registered.
98
98
  """
99
99
 
100
- def constant[**P, T]( # type: ignore[no-untyped-def]
100
+ def constant[T]( # type: ignore[no-untyped-def]
101
101
  self,
102
- wrapped: Callable[P, T] = ...,
102
+ wrapped: type[T] = ...,
103
103
  /,
104
104
  *,
105
105
  on: _TypeInfo[T] = ...,
@@ -505,9 +505,9 @@ class Module(Broker, EventListener):
505
505
 
506
506
  return decorator(wrapped) if wrapped else decorator
507
507
 
508
- def constant[**P, T]( # type: ignore[no-untyped-def]
508
+ def constant[T]( # type: ignore[no-untyped-def]
509
509
  self,
510
- wrapped: Callable[P, T] | None = None,
510
+ wrapped: type[T] | None = None,
511
511
  /,
512
512
  *,
513
513
  on: TypeInfo[T] = (),
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "python-injection"
3
- version = "0.10.5"
3
+ version = "0.10.5.post0"
4
4
  description = "Fast and easy dependency injection framework."
5
5
  license = "MIT"
6
6
  authors = ["remimd"]