python-dependency-injector/objects/__init__.py

48 lines
1.0 KiB
Python
Raw Normal View History

2015-03-09 01:01:39 +03:00
"""Objects."""
2015-01-04 16:54:25 +03:00
from .catalog import AbstractCatalog
from .catalog import override
2015-01-04 16:54:25 +03:00
2015-03-10 12:51:13 +03:00
from .providers import Provider
2015-03-14 01:02:01 +03:00
from .providers import Delegate
2015-03-10 12:51:13 +03:00
from .providers import NewInstance
from .providers import Singleton
from .providers import ExternalDependency
from .providers import Class
from .providers import Object
from .providers import Function
from .providers import Value
from .providers import Callable
from .providers import Config
2015-01-04 16:54:25 +03:00
from .injections import KwArg
2015-03-10 12:51:13 +03:00
from .injections import Attribute
from .injections import Method
2015-03-14 01:02:01 +03:00
from .errors import Error
2015-03-10 12:51:13 +03:00
__all__ = ('AbstractCatalog',
'override',
2015-01-10 12:24:25 +03:00
# Providers
2015-03-10 12:51:13 +03:00
'Provider',
2015-03-14 01:02:01 +03:00
'Delegate',
2015-03-10 12:51:13 +03:00
'NewInstance',
'Singleton',
'ExternalDependency',
'Class',
'Object',
'Function',
'Value',
'Callable',
'Config',
2015-01-10 12:24:25 +03:00
# Injections
'KwArg',
2015-03-10 12:51:13 +03:00
'Attribute',
2015-03-14 01:02:01 +03:00
'Method',
# Errors
'Error')