Add minor improvement to wiring doc

This commit is contained in:
Roman Mogylatov 2020-09-30 11:29:35 -04:00
parent 4c039d012e
commit 65c883ad57

View File

@ -44,6 +44,7 @@ There are two types of markers:
def foo(bar_provider: Callable[..., Bar] = Provider[Container.bar]): def foo(bar_provider: Callable[..., Bar] = Provider[Container.bar]):
bar = bar_provider()
... ...
You can use configuration, provided instance and sub-container providers as you normally do. You can use configuration, provided instance and sub-container providers as you normally do.