35 lines
993 B
Python
35 lines
993 B
Python
"""
|
|
The Config API, located under the :mod:`bonobo.config` namespace, contains all the tools you need to create
|
|
configurable transformations, either class-based or function-based.
|
|
|
|
"""
|
|
|
|
from bonobo.config.configurables import Configurable
|
|
from bonobo.config.functools import partial, transformation_factory
|
|
from bonobo.config.options import Method, Option
|
|
from bonobo.config.processors import ContextProcessor, use_context, use_context_processor, use_no_input, use_raw_input
|
|
from bonobo.config.services import Container, Exclusive, Service, create_container, use
|
|
from bonobo.util import deprecated_alias
|
|
|
|
requires = deprecated_alias("requires", use)
|
|
|
|
# Bonobo's Config API
|
|
__all__ = [
|
|
"Configurable",
|
|
"Container",
|
|
"ContextProcessor",
|
|
"Exclusive",
|
|
"Method",
|
|
"Option",
|
|
"Service",
|
|
"create_container",
|
|
"partial",
|
|
"requires",
|
|
"transformation_factory",
|
|
"use",
|
|
"use_context",
|
|
"use_context_processor",
|
|
"use_no_input",
|
|
"use_raw_input",
|
|
]
|