from __future__ import (division, unicode_literals, print_function,
                        absolute_import)

import enaml

from .base_tasks import BaseTask, SimpleTask, ComplexTask, RootTask

from .task_interface import (InterfaceableTaskMixin, TaskInterface,
                             InterfaceableInterfaceMixin, IInterface)

from .manager.declarations import (Tasks, Task, Interfaces, Interface,
                                   TaskConfig)
from .manager.filters import (TaskFilter, SubclassTaskFilter, GroupTaskFilter,
                              MetadataTaskFilter)

from .manager.configs.base_configs import BaseTaskConfig

with enaml.imports():
    from .manager.configs.base_config_views import BaseConfigView
    from .base_views import BaseTaskView

__all__ = ['BaseTask', 'SimpleTask', 'ComplexTask', 'RootTask', 'BaseTaskView',
           'InterfaceableTaskMixin', 'TaskInterface',
           'InterfaceableInterfaceMixin', 'IInterface',
           'Tasks', 'Task', 'Interfaces', 'Interface', 'TaskConfig',
           'TaskFilter', 'SubclassTaskFilter', 'GroupTaskFilter',
           'MetadataTaskFilter', 'BaseTaskConfig', 'BaseConfigView']

from __future__ import (division, unicode_literals, print_function,
                        absolute_import)

import enaml

from .base_tasks import BaseTask, SimpleTask, ComplexTask, RootTask

from .task_interface import (InterfaceableTaskMixin, TaskInterface,
                             InterfaceableInterfaceMixin, IInterface)

from .manager.declarations import (Tasks, Task, Interfaces, Interface,
                                   TaskConfig)
from .manager.filters import (TaskFilter, SubclassTaskFilter, GroupTaskFilter,
                              MetadataTaskFilter)

from .manager.configs.base_configs import BaseTaskConfig

from .manager.utils.building import build_task_from_config

with enaml.imports():
    from .manager.configs.base_config_views import BaseConfigView
    from .base_views import BaseTaskView

__all__ = ['BaseTask', 'SimpleTask', 'ComplexTask', 'RootTask', 'BaseTaskView',
           'InterfaceableTaskMixin', 'TaskInterface',
           'InterfaceableInterfaceMixin', 'IInterface',
           'Tasks', 'Task', 'Interfaces', 'Interface', 'TaskConfig',
           'TaskFilter', 'SubclassTaskFilter', 'GroupTaskFilter',
           'MetadataTaskFilter', 'BaseTaskConfig', 'BaseConfigView',
           'build_task_from_config']

Add tasks/build_from_config to the public API.
Add tasks/build_from_config to the public API.

  from __future__ import (division, unicode_literals, print_function,
                          absolute_import)
  
  import enaml
  
  from .base_tasks import BaseTask, SimpleTask, ComplexTask, RootTask
  
  from .task_interface import (InterfaceableTaskMixin, TaskInterface,
                               InterfaceableInterfaceMixin, IInterface)
  
  from .manager.declarations import (Tasks, Task, Interfaces, Interface,
                                     TaskConfig)
  from .manager.filters import (TaskFilter, SubclassTaskFilter, GroupTaskFilter,
                                MetadataTaskFilter)
  
  from .manager.configs.base_configs import BaseTaskConfig
  
+ from .manager.utils.building import build_task_from_config
+ 
  with enaml.imports():
      from .manager.configs.base_config_views import BaseConfigView
      from .base_views import BaseTaskView
  
  __all__ = ['BaseTask', 'SimpleTask', 'ComplexTask', 'RootTask', 'BaseTaskView',
             'InterfaceableTaskMixin', 'TaskInterface',
             'InterfaceableInterfaceMixin', 'IInterface',
             'Tasks', 'Task', 'Interfaces', 'Interface', 'TaskConfig',
             'TaskFilter', 'SubclassTaskFilter', 'GroupTaskFilter',
-            'MetadataTaskFilter', 'BaseTaskConfig', 'BaseConfigView']
+            'MetadataTaskFilter', 'BaseTaskConfig', 'BaseConfigView',
+            'build_task_from_config']
  
Add tasks/build_from_config to the public API.
## Code Before:
from __future__ import (division, unicode_literals, print_function,
                        absolute_import)

import enaml

from .base_tasks import BaseTask, SimpleTask, ComplexTask, RootTask

from .task_interface import (InterfaceableTaskMixin, TaskInterface,
                             InterfaceableInterfaceMixin, IInterface)

from .manager.declarations import (Tasks, Task, Interfaces, Interface,
                                   TaskConfig)
from .manager.filters import (TaskFilter, SubclassTaskFilter, GroupTaskFilter,
                              MetadataTaskFilter)

from .manager.configs.base_configs import BaseTaskConfig

with enaml.imports():
    from .manager.configs.base_config_views import BaseConfigView
    from .base_views import BaseTaskView

__all__ = ['BaseTask', 'SimpleTask', 'ComplexTask', 'RootTask', 'BaseTaskView',
           'InterfaceableTaskMixin', 'TaskInterface',
           'InterfaceableInterfaceMixin', 'IInterface',
           'Tasks', 'Task', 'Interfaces', 'Interface', 'TaskConfig',
           'TaskFilter', 'SubclassTaskFilter', 'GroupTaskFilter',
           'MetadataTaskFilter', 'BaseTaskConfig', 'BaseConfigView']

## Instruction:
Add tasks/build_from_config to the public API.
## Code After:
from __future__ import (division, unicode_literals, print_function,
                        absolute_import)

import enaml

from .base_tasks import BaseTask, SimpleTask, ComplexTask, RootTask

from .task_interface import (InterfaceableTaskMixin, TaskInterface,
                             InterfaceableInterfaceMixin, IInterface)

from .manager.declarations import (Tasks, Task, Interfaces, Interface,
                                   TaskConfig)
from .manager.filters import (TaskFilter, SubclassTaskFilter, GroupTaskFilter,
                              MetadataTaskFilter)

from .manager.configs.base_configs import BaseTaskConfig

from .manager.utils.building import build_task_from_config

with enaml.imports():
    from .manager.configs.base_config_views import BaseConfigView
    from .base_views import BaseTaskView

__all__ = ['BaseTask', 'SimpleTask', 'ComplexTask', 'RootTask', 'BaseTaskView',
           'InterfaceableTaskMixin', 'TaskInterface',
           'InterfaceableInterfaceMixin', 'IInterface',
           'Tasks', 'Task', 'Interfaces', 'Interface', 'TaskConfig',
           'TaskFilter', 'SubclassTaskFilter', 'GroupTaskFilter',
           'MetadataTaskFilter', 'BaseTaskConfig', 'BaseConfigView',
           'build_task_from_config']
