From 65c883ad57fc4ee55ba5f914775130d00e2357bd Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Wed, 30 Sep 2020 11:29:35 -0400 Subject: [PATCH] Add minor improvement to wiring doc --- docs/wiring.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/wiring.rst b/docs/wiring.rst index a3727331..5b620f4d 100644 --- a/docs/wiring.rst +++ b/docs/wiring.rst @@ -44,6 +44,7 @@ There are two types of markers: 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.