mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-18 04:20:46 +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."""
|
"""Components catalog."""
|
||||||
|
|
||||||
service = providers.Factory(Service)
|
service = providers.Factory(Service)
|
||||||
|
|
||||||
client = providers.Factory(Client, service=service)
|
client = providers.Factory(Client, service=service)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user