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:
objectA report on the number of produced datasets as well as the status of missing datasets based on metadata.
A
DatasetTypeExecutionReportis created for eachDatasetTypein aTaskExecutionReport.Attributes Summary
Datasets not produced due to an upstream failure (
set).Datasets not produced because their quanta failed directly in this run (
set).Count of datasets expected (
int)Count of datasets produced (
int).Missing datasets which were not produced by successful quanta.
Methods Summary
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_dict
dict A count of the datasets with each outcome; the number of produced,
failed,not_produced, andblockedDatasetTypes. See above for attribute descriptions.
- summary_dict