mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-01-31 11:51:39 +03:00
Update ioc_container_example.py
This commit is contained in:
parent
e7f7b0693c
commit
c6e9dbd84c
|
@ -8,7 +8,7 @@ from ioc_example import Client
|
||||||
|
|
||||||
|
|
||||||
class Components(catalogs.DeclarativeCatalog):
|
class Components(catalogs.DeclarativeCatalog):
|
||||||
"""Component providers catalog."""
|
"""Catalog of component providers."""
|
||||||
|
|
||||||
service = providers.Factory(Service)
|
service = providers.Factory(Service)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user