Fixed a typo in Factory provider docs "service.add_attributes(clent=client)" #499 (#504)

This commit is contained in:
Rajan Jha 2021-09-13 05:40:25 +05:30 committed by GitHub
parent cef6d35cfd
commit ff5b81fecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ class Container(containers.DeclarativeContainer):
client = providers.Factory(Client) client = providers.Factory(Client)
service = providers.Factory(Service) service = providers.Factory(Service)
service.add_attributes(clent=client) service.add_attributes(client=client)
if __name__ == '__main__': if __name__ == '__main__':