mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
examples codestyle fixes
This commit is contained in:
parent
4055b42e59
commit
6cd2319a15
|
@ -1,6 +1,5 @@
|
||||||
"""Callable provider examples."""
|
"""Callable provider examples."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
|
|
||||||
from objects.providers import Singleton
|
from objects.providers import Singleton
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Concept example of objects catalogs."""
|
"""Concept example of objects catalogs."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
|
|
||||||
from objects.providers import Singleton
|
from objects.providers import Singleton
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Config provider examples."""
|
"""Config provider examples."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
|
|
||||||
from objects.providers import Config
|
from objects.providers import Config
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Provider delegation example."""
|
"""Provider delegation example."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
|
|
||||||
from objects.providers import Singleton
|
from objects.providers import Singleton
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""External dependency example."""
|
"""External dependency example."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
|
|
||||||
from objects.providers import Singleton
|
from objects.providers import Singleton
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Override example."""
|
"""Override example."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
from objects import overrides
|
from objects import overrides
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Scoped provider examples."""
|
"""Scoped provider examples."""
|
||||||
|
|
||||||
|
|
||||||
from objects import AbstractCatalog
|
from objects import AbstractCatalog
|
||||||
|
|
||||||
from objects.providers import Singleton
|
from objects.providers import Singleton
|
||||||
|
|
Loading…
Reference in New Issue
Block a user