mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
Update oc_container_example
This commit is contained in:
parent
2cd80b1b4c
commit
3f6c4d1b2c
|
@ -11,6 +11,7 @@ class Components(catalogs.DeclarativeCatalog):
|
|||
"""Components catalog."""
|
||||
|
||||
service = providers.Factory(Service)
|
||||
|
||||
client = providers.Factory(Client, service=service)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user