mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
updating delegate code style
This commit is contained in:
parent
da1f1eb08a
commit
120ef5d5cb
|
@ -1,6 +1,4 @@
|
||||||
"""
|
"""Example of providers delegate."""
|
||||||
Example of providers delegate.
|
|
||||||
"""
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
from objects.providers import (
|
from objects.providers import (
|
||||||
|
@ -29,9 +27,8 @@ class ObjectB(object):
|
||||||
|
|
||||||
# Catalog of objects providers.
|
# Catalog of objects providers.
|
||||||
class Catalog(AbstractCatalog):
|
class Catalog(AbstractCatalog):
|
||||||
"""
|
|
||||||
Objects catalog.
|
"""Objects catalog."""
|
||||||
"""
|
|
||||||
|
|
||||||
database = Singleton(sqlite3.Connection,
|
database = Singleton(sqlite3.Connection,
|
||||||
InitArg('database', ':memory:'),
|
InitArg('database', ':memory:'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user