DatasetTypeExecutionReport#

class lsst.pipe.base.execution_reports.DatasetTypeExecutionReport(failed: set[~lsst.daf.butler._dataset_ref.DatasetRef] = <factory>, not_produced: set[~lsst.daf.butler._dataset_ref.DatasetRef] = <factory>, blocked: set[~lsst.daf.butler._dataset_ref.DatasetRef] = <factory>, n_produced: int = 0, n_expected: int = 0)#

Bases: object

A report on the number of produced datasets as well as the status of missing datasets based on metadata.

A DatasetTypeExecutionReport is created for each DatasetType in a TaskExecutionReport.

Attributes Summary

blocked

Datasets not produced due to an upstream failure (set).

failed

Datasets not produced because their quanta failed directly in this run (set).

n_expected

Count of datasets expected (int)

n_produced

Count of datasets produced (int).

not_produced

Missing datasets which were not produced by successful quanta.

Methods Summary

to_summary_dict()

Summarize the DatasetTypeExecutionReport in a dictionary.

Attributes Documentation

blocked: set[DatasetRef] = <dataclasses._MISSING_TYPE object>#

Datasets not produced due to an upstream failure (set).

failed: set[DatasetRef] = <dataclasses._MISSING_TYPE object>#

Datasets not produced because their quanta failed directly in this run (set).

n_expected: int = 0#

Count of datasets expected (int)

n_produced: int = 0#

Count of datasets produced (int).

not_produced: set[DatasetRef] = <dataclasses._MISSING_TYPE object>#

Missing datasets which were not produced by successful quanta.

Methods Documentation

to_summary_dict() dict[str, Any]#

Summarize the DatasetTypeExecutionReport in a dictionary.

Returns#

summary_dictdict

A count of the datasets with each outcome; the number of produced, failed, not_produced, and blocked DatasetTypes. See above for attribute descriptions.