[config/dx] bundle a default fs (and http?) service if none is provided (#179)
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
from bonobo.util.collections import sortedlist
|
||||
from bonobo.util.inspect import (
|
||||
inspect_node,
|
||||
isbag,
|
||||
@ -10,11 +11,18 @@ from bonobo.util.inspect import (
|
||||
isoption,
|
||||
istype,
|
||||
)
|
||||
from bonobo.util.objects import (
|
||||
get_name,
|
||||
get_attribute_or_create,
|
||||
ValueHolder
|
||||
)
|
||||
from bonobo.util.python import require
|
||||
|
||||
# Bonobo's util API
|
||||
__all__ = [
|
||||
'require',
|
||||
'ValueHolder',
|
||||
'get_attribute_or_create',
|
||||
'get_name',
|
||||
'inspect_node',
|
||||
'isbag',
|
||||
'isconfigurable',
|
||||
@ -25,4 +33,5 @@ __all__ = [
|
||||
'ismethod',
|
||||
'isoption',
|
||||
'istype',
|
||||
'require',
|
||||
]
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
from collections import namedtuple
|
||||
|
||||
from bonobo.constants import LOOPBACK
|
||||
|
||||
|
||||
def isconfigurable(mixed):
|
||||
@ -99,6 +98,7 @@ def isloopbackbag(mixed):
|
||||
:param mixed:
|
||||
:return: bool
|
||||
"""
|
||||
from bonobo.constants import LOOPBACK
|
||||
return isbag(mixed) and LOOPBACK in mixed.flags
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user