[api] require/requires is confusing

This commit is contained in:
Romain Dorgueil
2017-10-02 06:16:30 +02:00
parent 96fda28280
commit d858b246ad
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,8 @@ from bonobo.config.options import Method, Option
from bonobo.config.processors import ContextProcessor from bonobo.config.processors import ContextProcessor
from bonobo.config.services import Container, Exclusive, Service, requires from bonobo.config.services import Container, Exclusive, Service, requires
use = requires
# Bonobo's Config API # Bonobo's Config API
__all__ = [ __all__ = [
'Configurable', 'Configurable',
@ -13,4 +15,5 @@ __all__ = [
'Option', 'Option',
'Service', 'Service',
'requires', 'requires',
'use',
] ]

View File

@ -1 +1,6 @@
from bonobo.util.python import require
# Bonobo's util API
__all__ = [
'require'
]