GeneralResultTuple¶
- class lsst.daf.butler.queries.GeneralResultTuple(data_id: DataCoordinate, refs: list[DatasetRef], raw_row: dict[str, Any])¶
- Bases: - NamedTuple- Helper class for general result that represents the result row as a data coordinate and optionally a set of dataset refs extracted from a row. - Attributes Summary - Data coordinate for current row. - Original result row, the keys are the names of the dimensions, dimension fields (separated from dimension by dot) or dataset type fields (separated from dataset type name by dot). - Dataset refs extracted from the current row, the order matches the order of arguments in - iter_tuplescall.- Methods Summary - count(value, /)- Return number of occurrences of value. - index(value[, start, stop])- Return first index of value. - Attributes Documentation - data_id: DataCoordinate¶
- Data coordinate for current row. 
 - raw_row: dict[str, Any]¶
- Original result row, the keys are the names of the dimensions, dimension fields (separated from dimension by dot) or dataset type fields (separated from dataset type name by dot). 
 - refs: list[lsst.daf.butler._dataset_ref.DatasetRef]¶
- Dataset refs extracted from the current row, the order matches the order of arguments in - iter_tuplescall.
 - Methods Documentation - count(value, /)¶
- Return number of occurrences of value. 
 - index(value, start=0, stop=sys.maxsize, /)¶
- Return first index of value. - Raises ValueError if the value is not present.