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_id

Data coordinate for current row.

raw_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).

refs

Dataset refs extracted from the current row, the order matches the order of arguments in iter_tuples call.

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[DatasetRef]#

Dataset refs extracted from the current row, the order matches the order of arguments in iter_tuples call.