modern-di 1.0.0a3__py3-none-any.whl → 1.0.0a4__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.
|
@@ -83,7 +83,8 @@ class AsyncContainer(contextlib.AbstractAsyncContextManager["AsyncContainer"], A
|
|
|
83
83
|
self._check_entered()
|
|
84
84
|
self._is_entered = False
|
|
85
85
|
await self.state_registry.async_tear_down()
|
|
86
|
-
self.
|
|
86
|
+
if not self.parent_container:
|
|
87
|
+
self.overrides_registry.reset_override()
|
|
87
88
|
|
|
88
89
|
async def __aenter__(self) -> "AsyncContainer":
|
|
89
90
|
return self.enter()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: modern-di
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0a4
|
|
4
4
|
Summary: Dependency Injection framework with IOC-container and scopes
|
|
5
5
|
Project-URL: repository, https://github.com/modern-python/modern-di
|
|
6
6
|
Project-URL: docs, https://modern-di.readthedocs.io
|
|
@@ -4,7 +4,7 @@ modern_di/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
4
4
|
modern_di/scope.py,sha256=e6Olc-CF89clbYDNGciy-F8EqJt1Mw2703zfuJaEY94,113
|
|
5
5
|
modern_di/containers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
modern_di/containers/abstract.py,sha256=meFmNooMGcQIJ6PbsqILcVJsmaH6ADLcW_JGqQuIhS8,6823
|
|
7
|
-
modern_di/containers/async_container.py,sha256=
|
|
7
|
+
modern_di/containers/async_container.py,sha256=JJJR_DQlHVIRe9-y1drti154ElgTBkqAN6dkDAdu3I8,3749
|
|
8
8
|
modern_di/containers/sync_container.py,sha256=JF9VQiHFqdsvSfbwaJl9wwxbTPrN-ztAQn7SMDsYUPg,1249
|
|
9
9
|
modern_di/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
modern_di/helpers/type_helpers.py,sha256=sIQmM6aLj8UJ-JL3cpFattdV8rVegDHPFODFAm-fjP0,795
|
|
@@ -27,6 +27,6 @@ modern_di/registries/providers_registry.py,sha256=wyuwoSNcLP3vjPw3vttkGuoZu7KmCd
|
|
|
27
27
|
modern_di/registries/state_registry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
modern_di/registries/state_registry/state.py,sha256=sb8dVe62eO4Vbvpf9r_6ilkMW96UTtcj6NDcC_D1QTA,1062
|
|
29
29
|
modern_di/registries/state_registry/state_registry.py,sha256=jOTznGH7YGNVFEtdMvT-MaPb0iBN6XvXKLWwrDWerxE,1032
|
|
30
|
-
modern_di-1.0.
|
|
31
|
-
modern_di-1.0.
|
|
32
|
-
modern_di-1.0.
|
|
30
|
+
modern_di-1.0.0a4.dist-info/METADATA,sha256=7ea01J8jGxiPYD0ObgN0t4uIpXoSe2apxr9QLTycgX0,3383
|
|
31
|
+
modern_di-1.0.0a4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
32
|
+
modern_di-1.0.0a4.dist-info/RECORD,,
|
|
File without changes
|