Skip to content

Commit ff5b81f

Browse files
authored
Fixed a typo in Factory provider docs "service.add_attributes(clent=client)" #499 (#504)
1 parent cef6d35 commit ff5b81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/providers/factory_attribute_injections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Container(containers.DeclarativeContainer):
1717
client = providers.Factory(Client)
1818

1919
service = providers.Factory(Service)
20-
service.add_attributes(clent=client)
20+
service.add_attributes(client=client)
2121

2222

2323
if __name__ == '__main__':

0 commit comments

Comments
 (0)