Add PipelineDecorator to clearml and clearml.automation namespaces

This commit is contained in:
allegroai 2021-11-17 19:13:18 +02:00
parent 3f7d271c10
commit 497ba92bff
2 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,7 @@ from .datasets import Dataset
TaskTypes = Task.TaskTypes
if not PY2:
from .automation.controller import PipelineController # noqa: F401
from .automation.controller import PipelineController, PipelineDecorator # noqa: F401
__all__ = [
"__version__",
@ -26,6 +26,7 @@ if not PY2:
"UsageError",
"Dataset",
"PipelineController",
"PipelineDecorator",
]
else:
__all__ = [

View File

@ -2,10 +2,10 @@ from .parameters import (UniformParameterRange, DiscreteParameterRange, UniformI
LogUniformParameterRange)
from .optimization import GridSearch, RandomSearch, HyperParameterOptimizer, Objective
from .job import ClearmlJob
from .controller import PipelineController
from .controller import PipelineController, PipelineDecorator
from .scheduler import TaskScheduler
from .trigger import TriggerScheduler
__all__ = ["UniformParameterRange", "DiscreteParameterRange", "UniformIntegerParameterRange", "ParameterSet",
"LogUniformParameterRange", "GridSearch", "RandomSearch", "HyperParameterOptimizer", "Objective",
"ClearmlJob", "PipelineController", "TaskScheduler", "TriggerScheduler"]
"ClearmlJob", "PipelineController", "TaskScheduler", "TriggerScheduler", "PipelineDecorator"]