python-injection 0.14.4__py3-none-any.whl → 0.14.4.post0__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.
injection/__init__.pyi CHANGED
@@ -50,7 +50,7 @@ class Injectable[T](Protocol):
50
50
  @runtime_checkable
51
51
  class Slot[T](Protocol):
52
52
  @abstractmethod
53
- def set(self, instance: T, /) -> Self: ...
53
+ def set(self, instance: T, /) -> None: ...
54
54
 
55
55
  class LazyInstance[T]:
56
56
  def __init__(
injection/_core/module.py CHANGED
@@ -550,7 +550,7 @@ class Module(Broker, EventListener):
550
550
  ) -> Slot[T]:
551
551
  def when_empty() -> T:
552
552
  raise EmptySlotError(
553
- f"The slot for `{on}` is unset in the current `{scope_name}` scope."
553
+ f"The slot for `{on}` isn't set in the current `{scope_name}` scope."
554
554
  )
555
555
 
556
556
  injectable = SimpleScopedInjectable(SyncCaller(when_empty), scope_name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-injection
3
- Version: 0.14.4
3
+ Version: 0.14.4.post0
4
4
  Summary: Fast and easy dependency injection framework.
5
5
  Project-URL: Repository, https://github.com/100nm/python-injection
6
6
  Author: remimd
@@ -1,12 +1,12 @@
1
1
  injection/__init__.py,sha256=a-rBAlBTiH6TzZ-11NGK6diovfibyKmmnf99PZUog1A,1166
2
- injection/__init__.pyi,sha256=GMLv9UjJ2p2EdoWFjLgFU7T3hVGsadG8nSNMMQFZZ-Y,10398
2
+ injection/__init__.pyi,sha256=rOl1kA9BkIeXDr7OdBMifAg9xWwvme447yjDZooir18,10398
3
3
  injection/exceptions.py,sha256=v57yMujiq6H_zwwn30A8UYEZX9R9k-bY8FnsdaimPM4,1025
4
4
  injection/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  injection/utils.py,sha256=Lr0qHaq3_1AkUoAaw2XmMNie_alwYTeTrRlO22FeCnk,2762
6
6
  injection/_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  injection/_core/descriptors.py,sha256=7fSHlgAqmgR_Uta8KocBapOt1Xyj2dI7RY9ZdoStTzw,726
8
8
  injection/_core/injectables.py,sha256=SKP9uKDO8U7ATw_pG-SjP8KIfPDYAC1nzZdONNv1blI,4682
9
- injection/_core/module.py,sha256=jOMHWXhPKzFK2wmfsxA_koueSLfaNdUxk3qWDAXpkxU,31766
9
+ injection/_core/module.py,sha256=64M6bGtKUA3mmekBiaA8nwBSwBy_N9CohLt6YIU6qss,31767
10
10
  injection/_core/scope.py,sha256=pwOqVKOUM_ZteNScgp-hLqyOHg5Ew75jWlfWLLD2PU8,5437
11
11
  injection/_core/slots.py,sha256=O2OGLI6Zp5rVzort8ln5j4X54DJVjeIH5V5lj8lskX8,638
12
12
  injection/_core/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,6 +20,6 @@ injection/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
20
20
  injection/integrations/fastapi.py,sha256=YHSs85_3m6TUVtOwUcV157b3UZJQIw_aXWAg199a-YE,594
21
21
  injection/testing/__init__.py,sha256=SiImXDd0-DO1a8S5nbUQRtgDX8iaU_nHcp8DdqwtD2M,896
22
22
  injection/testing/__init__.pyi,sha256=iOii0i9F5n7znltGeGQYI2KXC_if9SAogLh1h03yx-0,540
23
- python_injection-0.14.4.dist-info/METADATA,sha256=E7AJpK5ukpwrWVYh2vDJzBewWc2ORe1DGOI6tccUs4Y,3199
24
- python_injection-0.14.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
- python_injection-0.14.4.dist-info/RECORD,,
23
+ python_injection-0.14.4.post0.dist-info/METADATA,sha256=Sx-Dm7tx0fDj5V-W6_4OOIce3O-7mnlhTYeIJJAeSDE,3205
24
+ python_injection-0.14.4.post0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
+ python_injection-0.14.4.post0.dist-info/RECORD,,