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 ee845d1 commit e3c95acCopy full SHA for e3c95ac
injector/__init__.py
@@ -350,6 +350,8 @@ class MultiBinder(Provider, Generic[T]):
350
351
def __init__(self, parent: 'Binder') -> None:
352
self._multi_bindings = []
353
+ # TODO(dp): Replace with a child-injector? Binders and Injectors belong together. (Needed for proper @singleton resolution, if that should work)
354
+ # TODO(dp): If that's done, the `.append()` below can probably hold more logic.
355
self._binder = Binder(parent.injector, auto_bind=False, parent=parent)
356
357
@abstractmethod
0 commit comments