lsst.pipe.base  20.0.0-9-gabd0d4c+02e95b7327
Public Member Functions | List of all members
lsst.pipe.base.pipeline.PipelineDatasetTypes Class Reference

Public Member Functions

PipelineDatasetTypes fromPipeline (cls, pipeline, *Registry registry)
 

Detailed Description

An immutable struct that classifies the dataset types used in a
`Pipeline`.

Definition at line 535 of file pipeline.py.

Member Function Documentation

◆ fromPipeline()

PipelineDatasetTypes lsst.pipe.base.pipeline.PipelineDatasetTypes.fromPipeline (   cls,
  pipeline,
*Registry  registry 
)
Extract and classify the dataset types from all tasks in a
`Pipeline`.

Parameters
----------
pipeline: `Pipeline`
    An ordered collection of tasks that can be run together.
registry: `Registry`
    Registry used to construct normalized `DatasetType` objects and
    retrieve those that are incomplete.

Returns
-------
types: `PipelineDatasetTypes`
    The dataset types used by this `Pipeline`.

Raises
------
ValueError
    Raised if Tasks are inconsistent about which datasets are marked
    prerequisite.  This indicates that the Tasks cannot be run as part
    of the same `Pipeline`.

Definition at line 601 of file pipeline.py.


The documentation for this class was generated from the following file: