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 efc62e1 commit 4d57f11Copy full SHA for 4d57f11
injector_test.py
@@ -731,8 +731,11 @@ def configure(binder: Binder) -> None:
731
injector = Injector([configure])
732
first_list = injector.get(List[Plugin])
733
second_list = injector.get(List[Plugin])
734
+ child_injector = injector.create_child_injector()
735
+ third_list = child_injector.get(List[Plugin])
736
737
assert first_list[0] is second_list[0]
738
+ assert third_list[0] is second_list[0]
739
740
741
def test_multibind_scopes_applies_to_the_bound_items() -> None:
0 commit comments