We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf68f6b commit 25d2fe2Copy full SHA for 25d2fe2
README.md
@@ -31,7 +31,7 @@ optimal as it reduces necessary computation for expensive services and reduces
31
32
#### Decorator Injection
33
34
-With this approach you can automatically inject functions at load time using the `@wiring.injected` decorator.
+With this approach you can automatically inject functions at load time using the `@wiring.inject` decorator.
35
36
```python
37
from pif import wiring, providers
@@ -113,7 +113,7 @@ if __name__ == "__main__":
113
114
OverrideProvider = providers.ExistingSingleton("overridden_1")
115
116
- with StringProvider.override_existing(OverrideProvider):
+ with StringProvider.override(OverrideProvider):
117
assert "overridden_1" == my_function()
118
119
with OverrideProvider.override_existing("overridden_2"):
0 commit comments