Skip to content

Commit

Permalink
refactor: remove the unused _state slot from the Container (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWarden authored Feb 1, 2023
1 parent 104f006 commit f5764c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion di/_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ class Container:
Solving is very expensive so avoid doing it in a hot loop.
"""

__slots__ = ("_bind_hooks", "_state")
__slots__ = ("_bind_hooks",)

_bind_hooks: List[BindHook]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "di"
version = "0.75.1"
version = "0.75.2"
description = "Dependency injection toolkit"
authors = ["Adrian Garcia Badaracco <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit f5764c7

Please sign in to comment.