Update declarative container docs

This commit is contained in:
Roman Mogilatov 2016-06-03 19:20:34 +03:00
parent 92ebbefd2f
commit 5ef01b0b07
10 changed files with 6 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB

View File

Before

Width:  |  Height:  |  Size: 295 KiB

After

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

View File

@ -1,7 +1,7 @@
"""Declarative IoC container simple example."""
from dependency_injector import containers
from dependency_injector import providers
import dependency_injector.containers as containers
import dependency_injector.providers as providers
# Defining declarative IoC container:

View File

@ -1,7 +1,7 @@
"""Declarative IoC containers inheritance example."""
from dependency_injector import containers
from dependency_injector import providers
import dependency_injector.containers as containers
import dependency_injector.providers as providers
class ContainerA(containers.DeclarativeContainer):

View File

@ -2,8 +2,8 @@
import sqlite3
from dependency_injector import containers
from dependency_injector import providers
import dependency_injector.containers as containers
import dependency_injector.providers as providers
class UsersService(object):