Skip to content

Commit f8b0f4b

Browse files
authored
Fix old imports in example (#97)
1 parent f5764c7 commit f8b0f4b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ Here is a simple example of how `di` works:
4040
```python
4141
from dataclasses import dataclass
4242

43-
from di import Container, Dependent, SyncExecutor
43+
from di import Container
44+
from di.dependent import Dependent
45+
from di.executors import SyncExecutor
4446

4547

4648
class A:

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.2"
3+
version = "0.75.3"
44
description = "Dependency injection toolkit"
55
authors = ["Adrian Garcia Badaracco <adrian@adriangb.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)