DimensionRecordColumnTag

final class lsst.daf.butler.DimensionRecordColumnTag(element: str, column: str)

Bases: _BaseColumnTag

An identifier for Relation columns that represent non-key columns in a dimension or dimension element record.

Attributes Summary

column

Name of the column (str).

element

Name of the dimension element (str).

is_key

qualified_name

Methods Summary

generate(element, columns)

Return a list of column tags from an iterable of column names for a single dimension element.

Attributes Documentation

column: str

Name of the column (str).

element: str

Name of the dimension element (str).

is_key
qualified_name

Methods Documentation

classmethod generate(element: str, columns: Iterable[str]) list[lsst.daf.butler._column_tags.DimensionRecordColumnTag]

Return a list of column tags from an iterable of column names for a single dimension element.

Parameters:
elementstr

Name of the dimension element.

columnsIterable [ str ]

Column names.

Returns:
tagslist [ DimensionRecordColumnTag ]

List of column tags.