Skip to content

Commit f5764c7

Browse files
authored
refactor: remove the unused _state slot from the Container (#94)
1 parent 104f006 commit f5764c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

di/_container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ class Container:
606606
Solving is very expensive so avoid doing it in a hot loop.
607607
"""
608608

609-
__slots__ = ("_bind_hooks", "_state")
609+
__slots__ = ("_bind_hooks",)
610610

611611
_bind_hooks: List[BindHook]
612612

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "di"
3-
version = "0.75.1"
3+
version = "0.75.2"
44
description = "Dependency injection toolkit"
55
authors = ["Adrian Garcia Badaracco <adrian@adriangb.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)