Skip to content

Commit e3c95ac

Browse files
committed
--wip-- [skip ci]
1 parent ee845d1 commit e3c95ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

injector/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ class MultiBinder(Provider, Generic[T]):
350350

351351
def __init__(self, parent: 'Binder') -> None:
352352
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.
353355
self._binder = Binder(parent.injector, auto_bind=False, parent=parent)
354356

355357
@abstractmethod

0 commit comments

Comments
 (0)