We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11042c7 commit bdbf66cCopy full SHA for bdbf66c
injector_test.py
@@ -739,7 +739,7 @@ def test_multibind_scopes_applies_to_the_bound_items() -> None:
739
def configure(binder: Binder) -> None:
740
binder.multibind(List[Plugin], to=PluginA, scope=singleton)
741
binder.multibind(List[Plugin], to=PluginB)
742
- binder.multibind(List[Plugin], to=PluginC, scope=singleton)
+ binder.multibind(List[Plugin], to=[PluginC], scope=singleton)
743
744
injector = Injector([configure])
745
first_list = injector.get(List[Plugin])
0 commit comments