From ff5b81fecb3eed950a469fe38d89ea2f09269b44 Mon Sep 17 00:00:00 2001 From: Rajan Jha Date: Mon, 13 Sep 2021 05:40:25 +0530 Subject: [PATCH] Fixed a typo in Factory provider docs "service.add_attributes(clent=client)" #499 (#504) --- 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__':