modern-di 0.16.2__tar.gz → 0.16.3__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.

Potentially problematic release.


This version of modern-di might be problematic. Click here for more details.

Files changed (25) hide show
  1. {modern_di-0.16.2 → modern_di-0.16.3}/PKG-INFO +1 -1
  2. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/container.py +1 -1
  3. {modern_di-0.16.2 → modern_di-0.16.3}/pyproject.toml +1 -1
  4. {modern_di-0.16.2 → modern_di-0.16.3}/.gitignore +0 -0
  5. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/__init__.py +0 -0
  6. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/graph.py +0 -0
  7. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/helpers/__init__.py +0 -0
  8. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/helpers/attr_getter_helpers.py +0 -0
  9. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/provider_state.py +0 -0
  10. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/__init__.py +0 -0
  11. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/abstract.py +0 -0
  12. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/async_factory.py +0 -0
  13. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/async_singleton.py +0 -0
  14. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/container_provider.py +0 -0
  15. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/context_adapter.py +0 -0
  16. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/dict.py +0 -0
  17. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/factory.py +0 -0
  18. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/injected_factory.py +0 -0
  19. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/list.py +0 -0
  20. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/object.py +0 -0
  21. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/resource.py +0 -0
  22. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/selector.py +0 -0
  23. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/providers/singleton.py +0 -0
  24. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/py.typed +0 -0
  25. {modern_di-0.16.2 → modern_di-0.16.3}/modern_di/scope.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: modern-di
3
- Version: 0.16.2
3
+ Version: 0.16.3
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
@@ -49,7 +49,7 @@ class Container(contextlib.AbstractAsyncContextManager["Container"], contextlib.
49
49
 
50
50
  def _check_entered(self) -> None:
51
51
  if self._is_async is None:
52
- msg = "Enter the context first"
52
+ msg = f"Enter the context of {self.scope.name} scope"
53
53
  raise RuntimeError(msg)
54
54
 
55
55
  def build_child_container(
@@ -13,7 +13,7 @@ classifiers = [
13
13
  "Typing :: Typed",
14
14
  "Topic :: Software Development :: Libraries",
15
15
  ]
16
- version = "0.16.2"
16
+ version = "0.16.3"
17
17
  dynamic = ["readme"]
18
18
 
19
19
  [project.urls]
File without changes