python-injection 0.19.5.post0__tar.gz → 0.19.5.post1__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 (31) hide show
  1. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/PKG-INFO +1 -1
  2. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/module.py +2 -3
  3. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/entrypoint.py +4 -0
  4. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/pyproject.toml +1 -1
  5. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/.gitignore +0 -0
  6. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/LICENSE +0 -0
  7. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/README.md +0 -0
  8. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/__init__.py +0 -0
  9. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/__init__.pyi +0 -0
  10. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/__init__.py +0 -0
  11. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/asfunction.py +0 -0
  12. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/__init__.py +0 -0
  13. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/asynchronous.py +0 -0
  14. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/event.py +0 -0
  15. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/invertible.py +0 -0
  16. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/key.py +0 -0
  17. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/lazy.py +0 -0
  18. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/threading.py +0 -0
  19. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/common/type.py +0 -0
  20. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/descriptors.py +0 -0
  21. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/injectables.py +0 -0
  22. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/scope.py +0 -0
  23. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/_core/slots.py +0 -0
  24. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/exceptions.py +0 -0
  25. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/ext/__init__.py +0 -0
  26. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/ext/fastapi.py +0 -0
  27. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/ext/fastapi.pyi +0 -0
  28. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/loaders.py +0 -0
  29. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/py.typed +0 -0
  30. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/testing/__init__.py +0 -0
  31. {python_injection-0.19.5.post0 → python_injection-0.19.5.post1}/injection/testing/__init__.pyi +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-injection
3
- Version: 0.19.5.post0
3
+ Version: 0.19.5.post1
4
4
  Summary: Fast and easy dependency injection framework.
5
5
  Project-URL: Repository, https://github.com/100nm/python-injection
6
6
  Author: remimd
@@ -480,16 +480,15 @@ class Module(Broker, EventListener):
480
480
  wrapper = contextmanager(wrapped)
481
481
 
482
482
  else:
483
- hint = (wrapped,) # type: ignore[assignment]
484
483
  injectable_class = SimpleScopedInjectable
485
- wrapper = wrapped # type: ignore[assignment]
484
+ hint = wrapper = wrapped # type: ignore[assignment]
486
485
 
487
486
  self.injectable(
488
487
  wrapper,
489
488
  cls=partial(injectable_class, scope_name=scope_name),
490
489
  ignore_type_hint=True,
491
490
  inject=inject,
492
- on=(*hint, on),
491
+ on=(hint, on),
493
492
  mode=mode,
494
493
  )
495
494
  return wrapped
@@ -41,6 +41,10 @@ def autocall[T: Callable[..., Any]](
41
41
  return decorator(wrapped) if wrapped else decorator
42
42
 
43
43
 
44
+ # SMP = Setup Method Parameters
45
+ # EPP = EntryPoint Parameters
46
+
47
+
44
48
  @overload
45
49
  def entrypointmaker[**SMP, **EPP, T1, T2](
46
50
  wrapped: EntrypointSetupMethod[SMP, EPP, T1, T2],
@@ -30,7 +30,7 @@ test = [
30
30
 
31
31
  [project]
32
32
  name = "python-injection"
33
- version = "0.19.5.post0"
33
+ version = "0.19.5.post1"
34
34
  description = "Fast and easy dependency injection framework."
35
35
  license = "MIT"
36
36
  license-files = ["LICENSE"]