DatasetOriginInfo

class lsst.daf.butler.DatasetOriginInfo

Bases: object

Interface for classes providing collection information for pre-flight.

Pre-flight supports per-DatasetType collections, multiple collections can be searched for input Datasets and there is one output collection per Dataset. Typically one collection will be used for all inputs and possibly separate single collection will be used for all outputs. Some configurations may need more complex setup, and this interface encapsulates all possible behaviors.

Methods Summary

getInputCollections(datasetTypeName) Return ordered list of input collections for given dataset type.
getOutputCollection(datasetTypeName) Return output collection name for given dataset type.

Methods Documentation

getInputCollections(datasetTypeName)

Return ordered list of input collections for given dataset type.

Returns:
collections : list of str

Names of input collections.

getOutputCollection(datasetTypeName)

Return output collection name for given dataset type.

Returns:
collection : str

Name of output collection.