File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ optimal as it reduces necessary computation for expensive services and reduces
3131
3232#### Decorator Injection
3333
34- With this approach you can automatically inject functions at load time using the ` @wiring.injected ` decorator.
34+ With this approach you can automatically inject functions at load time using the ` @wiring.inject ` decorator.
3535
3636``` python
3737from pif import wiring, providers
@@ -113,7 +113,7 @@ if __name__ == "__main__":
113113
114114 OverrideProvider = providers.ExistingSingleton(" overridden_1" )
115115
116- with StringProvider.override_existing (OverrideProvider):
116+ with StringProvider.override (OverrideProvider):
117117 assert " overridden_1" == my_function()
118118
119119 with OverrideProvider.override_existing(" overridden_2" ):
You can’t perform that action at this time.
0 commit comments