◆ PipelineBuilder()
fiftyone.pipeline.core.flowelements.PipelineBuilder.PipelineBuilder | ( | ILoggerFactory | loggerFactory | ) |
Construct a new instance.
- Parameters
-
- loggerFactory - logger factory to use when passing loggers to any instances created by the builder
Member Function Documentation
◆ addService()
PipelineBuilder fiftyone.pipeline.core.flowelements.PipelineBuilder.addService ( PipelineService service ) Add a service to the builder which will be needed by any of the elements being added to the pipeline.
This should be used when calling buildFromConfiguration(PipelineOptions).
See PipelineService for more details.
- Parameters
-
- service - the service instance to add
- Returns
- this builder
◆ buildFromConfiguration()
Pipeline fiftyone.pipeline.core.flowelements.PipelineBuilder.buildFromConfiguration ( PipelineOptions options ) throws Exception Build the pipeline using the specified configuration options.
- Parameters
-
- options - a PipelineOptions instance describing how to build the pipeline
- Returns
- a new Pipeline instance containing the configured FlowElement instances
- Exceptions
-
- Exception - if the configuration could not be used to build a valid Pipeline
Implements fiftyone.pipeline.core.flowelements.PipelineBuilderFromConfiguration.