Update ioc_container_example.py
This commit is contained in:
parent
56a597e0a6
commit
6d9aed74c8
|
@ -1,8 +1,10 @@
|
||||||
"""The Code, that uses IoC container."""
|
"""The Code, that uses IoC container."""
|
||||||
|
|
||||||
from dependency_injector import catalogs, providers
|
from dependency_injector import catalogs
|
||||||
|
from dependency_injector import providers
|
||||||
|
|
||||||
from ioc_example import Service, Client
|
from ioc_example import Service
|
||||||
|
from ioc_example import Client
|
||||||
|
|
||||||
|
|
||||||
class Components(catalogs.DeclarativeCatalog):
|
class Components(catalogs.DeclarativeCatalog):
|
||||||
|
|
Loading…
Reference in New Issue