modern-di 0.15.1__py3-none-any.whl → 0.15.2__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.
Potentially problematic release.
This version of modern-di might be problematic. Click here for more details.
modern_di/container.py
CHANGED
|
@@ -162,5 +162,9 @@ class Container(contextlib.AbstractAsyncContextManager["Container"], contextlib.
|
|
|
162
162
|
self.sync_close()
|
|
163
163
|
|
|
164
164
|
def __deepcopy__(self, *_: object, **__: object) -> "typing_extensions.Self":
|
|
165
|
-
"""Hack
|
|
165
|
+
"""Hack to prevent cloning object."""
|
|
166
|
+
return self
|
|
167
|
+
|
|
168
|
+
def __copy__(self, *_: object, **__: object) -> "typing_extensions.Self":
|
|
169
|
+
"""Hack to prevent cloning object."""
|
|
166
170
|
return self
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: modern-di
|
|
3
|
-
Version: 0.15.
|
|
3
|
+
Version: 0.15.2
|
|
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
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
modern_di/__init__.py,sha256=L01VkzSJiV0d0FPrh1DZ-Wy5mUmoG6X-oLz7xYxtehI,194
|
|
2
|
-
modern_di/container.py,sha256=
|
|
2
|
+
modern_di/container.py,sha256=XDjO-6yEUy2Kgr2ylW0obe9_ACaESG4kzd05KLxjfOQ,5530
|
|
3
3
|
modern_di/graph.py,sha256=X60wtG3Mqus_5YZNiZlQuXoHODBp7rYl_IHJs7GzSQM,1356
|
|
4
4
|
modern_di/provider_state.py,sha256=oU08QnMr0yhIZKkz0Pee8_RnWtETDE9ux4JB83qhwTI,1358
|
|
5
5
|
modern_di/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -20,6 +20,6 @@ modern_di/providers/object.py,sha256=Sm0mb3Ua7cZ5Ay65fLvl7fnJDSQrQZwvzio3lkkXP2A
|
|
|
20
20
|
modern_di/providers/resource.py,sha256=jEP6Ppr0gmdgWaQGF4sU2PIdt5xSzxcSDubC_IqxE1k,4559
|
|
21
21
|
modern_di/providers/selector.py,sha256=RQbHD2-Liw-TGqu6UELbfCzXYuqxiO_Mg1tLyF3mKQo,1419
|
|
22
22
|
modern_di/providers/singleton.py,sha256=gfJvAQ7L0JBYlhrzKvaYYDiWo8MPbp0CCU8hGtuzs7U,2357
|
|
23
|
-
modern_di-0.15.
|
|
24
|
-
modern_di-0.15.
|
|
25
|
-
modern_di-0.15.
|
|
23
|
+
modern_di-0.15.2.dist-info/METADATA,sha256=2fK0IlThswdWE_2jTvJUNmcwOn1kUDZmprcZ-fWzHec,3382
|
|
24
|
+
modern_di-0.15.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
25
|
+
modern_di-0.15.2.dist-info/RECORD,,
|
|
File without changes
|