mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
updating delegate implementation
This commit is contained in:
parent
039e211a09
commit
b6961f9311
|
@ -36,7 +36,7 @@ class Provider(object):
|
|||
"""
|
||||
Returns provider delegate.
|
||||
"""
|
||||
return lambda *args, **kwargs: self.__call__(*args, **kwargs)
|
||||
return self.__call__
|
||||
|
||||
|
||||
def prepare_injections(injections):
|
||||
|
|
Loading…
Reference in New Issue
Block a user