diff --git a/examples/miniapps/services/containers.py b/examples/miniapps/services/containers.py index 31391ee1..3b291d78 100644 --- a/examples/miniapps/services/containers.py +++ b/examples/miniapps/services/containers.py @@ -9,7 +9,7 @@ from dependency_injector import providers class Platform(containers.DeclarativeContainer): - """Container of platform service providers.""" + """IoC container of platform service providers.""" database = providers.Singleton(sqlite3.connect, ':memory:') @@ -19,7 +19,7 @@ class Platform(containers.DeclarativeContainer): class Services(containers.DeclarativeContainer): - """Container of business service providers.""" + """IoC container of business service providers.""" users = providers.Factory(example.services.Users, db=Platform.database) diff --git a/examples/miniapps/services/containers_alt_syntax_1.py b/examples/miniapps/services/containers_alt_syntax_1.py index 441a9785..2b925020 100644 --- a/examples/miniapps/services/containers_alt_syntax_1.py +++ b/examples/miniapps/services/containers_alt_syntax_1.py @@ -12,7 +12,7 @@ from dependency_injector import providers class Platform(containers.DeclarativeContainer): - """Container of platform service providers.""" + """IoC container of platform service providers.""" database = providers.Singleton(sqlite3.connect) \ .add_args(':memory:') @@ -23,7 +23,7 @@ class Platform(containers.DeclarativeContainer): class Services(containers.DeclarativeContainer): - """Container of business service providers.""" + """IoC container of business service providers.""" users = providers.Factory(example.services.Users) \ .add_kwargs(db=Platform.database) diff --git a/examples/miniapps/services/containers_alt_syntax_2.py b/examples/miniapps/services/containers_alt_syntax_2.py index 2e2d783b..9763ac26 100644 --- a/examples/miniapps/services/containers_alt_syntax_2.py +++ b/examples/miniapps/services/containers_alt_syntax_2.py @@ -12,7 +12,7 @@ from dependency_injector import providers class Platform(containers.DeclarativeContainer): - """Container of platform service providers.""" + """IoC container of platform service providers.""" database = providers.Singleton(sqlite3.connect) database.add_args(':memory:') @@ -23,7 +23,7 @@ class Platform(containers.DeclarativeContainer): class Services(containers.DeclarativeContainer): - """Container of business service providers.""" + """IoC container of business service providers.""" users = providers.Factory(example.services.Users) users.add_kwargs(db=Platform.database)