python-dependency-injector/objects/__init__.py

47 lines
1016 B
Python
Raw Normal View History

2015-03-08 22:01:39 +00:00
"""Objects."""
2015-01-04 13:54:25 +00:00
from .catalog import AbstractCatalog, overrides
2015-01-04 13:54:25 +00:00
2015-03-10 09:51:13 +00:00
from .providers import Provider
2015-03-13 22:02:01 +00:00
from .providers import Delegate
2015-03-10 09:51:13 +00: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 13:54:25 +00:00
2015-03-10 09:51:13 +00:00
from .injections import InitArg
from .injections import Attribute
from .injections import Method
2015-03-13 22:02:01 +00:00
from .errors import Error
2015-03-10 09:51:13 +00:00
__all__ = ('AbstractCatalog',
'overrides',
2015-01-10 09:24:25 +00:00
# Providers
2015-03-10 09:51:13 +00:00
'Provider',
2015-03-13 22:02:01 +00:00
'Delegate',
2015-03-10 09:51:13 +00:00
'NewInstance',
'Singleton',
'ExternalDependency',
'Class',
'Object',
'Function',
'Value',
'Callable',
'Config',
2015-01-10 09:24:25 +00:00
# Injections
2015-03-10 09:51:13 +00:00
'InitArg',
'Attribute',
2015-03-13 22:02:01 +00:00
'Method',
# Errors
'Error')