diff --git a/injector/__init__.py b/injector/__init__.py index d296d57..8adf6be 100644 --- a/injector/__init__.py +++ b/injector/__init__.py @@ -898,6 +898,7 @@ class Injector: def _log_prefix(self) -> str: return '>' * (len(self._stack) + 1) + ' ' + @synchronized(lock) def get(self, interface: Type[T], scope: Union[ScopeDecorator, Type[Scope], None] = None) -> T: """Get an instance of the given interface.