mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-21 17:16:46 +03:00
This commit is contained in:
parent
cef6d35cfd
commit
ff5b81fecb
|
@ -17,7 +17,7 @@ class Container(containers.DeclarativeContainer):
|
|||
client = providers.Factory(Client)
|
||||
|
||||
service = providers.Factory(Service)
|
||||
service.add_attributes(clent=client)
|
||||
service.add_attributes(client=client)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue
Block a user