mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +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.providers import (
|
||||
|
@ -29,9 +27,8 @@ class ObjectB(object):
|
|||
|
||||
# Catalog of objects providers.
|
||||
class Catalog(AbstractCatalog):
|
||||
"""
|
||||
Objects catalog.
|
||||
"""
|
||||
|
||||
"""Objects catalog."""
|
||||
|
||||
database = Singleton(sqlite3.Connection,
|
||||
InitArg('database', ':memory:'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user