mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-04 04:13:13 +03:00
Fixed a typo in Factory provider docs "service.add_attributes(clent=client)" #499
This commit is contained in:
parent
cef6d35cfd
commit
02d33c1e51
|
@ -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