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

filter_from(tags)

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 filter_from(tags: Iterable[Any]) set[_S]
classmethod generate(element: str, columns: Iterable[str]) list[lsst.daf.butler.core._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.