From d6f48b6e1d524dafe954be9bdc1c751099ded42f Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Fri, 27 May 2016 14:59:03 +0300 Subject: [PATCH] Update doc blocks for examples in README --- README.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index f30d4095..2e227bc2 100644 --- a/README.rst +++ b/README.rst @@ -69,7 +69,7 @@ system that consists from several business and platform services: class Platform(containers.DeclarativeContainer): - """Container of platform service providers.""" + """IoC container of platform service providers.""" database = providers.Singleton(sqlite3.connect, ':memory:') @@ -79,7 +79,7 @@ system that consists from several business and platform services: class Services(containers.DeclarativeContainer): - """Container of business service providers.""" + """IoC container of business service providers.""" users = providers.Factory(example.services.Users, db=Platform.database) @@ -128,7 +128,7 @@ IoC containers from previous example could look like these: .. code-block:: python class Platform(containers.DeclarativeContainer): - """Container of platform service providers.""" + """IoC container of platform service providers.""" database = providers.Singleton(sqlite3.connect) \ .add_args(':memory:') @@ -139,7 +139,7 @@ IoC containers from previous example could look like these: 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) @@ -157,7 +157,7 @@ or like this these: .. code-block:: python class Platform(containers.DeclarativeContainer): - """Container of platform service providers.""" + """IoC container of platform service providers.""" database = providers.Singleton(sqlite3.connect) database.add_args(':memory:') @@ -168,7 +168,7 @@ or like this these: 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)