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 93bbd4a commit cc4b8d0Copy full SHA for cc4b8d0
injector/__init__.py
@@ -525,10 +525,10 @@ def multibind(
525
526
:param interface: A generic list[T] or dict[str, T] type to bind to.
527
528
- :param to: A list/dict to bind to, where the values are either instances or classes implementing T.
+ :param to: A list/dict to bind to, where the values are either instances or classes implementing T.
529
Can also be an explicit :class:`Provider` or a callable that returns a list/dict.
530
For lists, this can also be a class implementing T (e.g. multibind(list[T], to=A))
531
-
+
532
:param scope: Optional Scope in which to bind.
533
"""
534
if interface not in self._bindings:
0 commit comments