From 02d33c1e51ef166f060513c487e62b6cb1055caf Mon Sep 17 00:00:00 2001 From: rajanjha786 Date: Sat, 11 Sep 2021 10:31:04 +0530 Subject: [PATCH] Fixed a typo in Factory provider docs "service.add_attributes(clent=client)" #499 --- examples/providers/factory_attribute_injections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/providers/factory_attribute_injections.py b/examples/providers/factory_attribute_injections.py index e9eaf528..f2d83e4b 100644 --- a/examples/providers/factory_attribute_injections.py +++ b/examples/providers/factory_attribute_injections.py @@ -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__':