◆ __init__()
def fiftyone_pipeline_core.pipeline.Pipeline.__init__ | ( | self, | |
flow_elements, | |||
logger = Logger() ,
|
|||
suppress_process_exceptions = False ,
|
|||
data_file_update_service = None
|
|||
) |
Pipeline constructor.
@type flow_elements: list[FlowElement]
- Parameters
-
- flow_elements - A list of flowElements
@type logger: Logger
- Parameters
-
- logger - A logger to attach to the pipeline
@type suppress_process_exceptions: boolean
- Parameters
-
- suppress_process_exceptions - If true then pipeline will suppress exceptions added to FlowData.errors otherwise will throw the exception occurred during the processing of first element.
@rtype: Pipeline
- Returns
- : Returns a Pipeline