DimensionKeyColumnTag

final class lsst.daf.butler.DimensionKeyColumnTag(dimension: str)

Bases: _BaseColumnTag

An identifier for Relation columns that represent a dimension primary key value.

Attributes Summary

dimension

Name of the dimension (str).

is_key

qualified_name

Methods Summary

filter_from(tags)

generate(dimensions)

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

Attributes Documentation

dimension: str

Name of the dimension (str).

is_key
qualified_name

Methods Documentation

classmethod filter_from(tags: Iterable[Any]) set[_S]
classmethod generate(dimensions: Iterable[str]) list[lsst.daf.butler.core._column_tags.DimensionKeyColumnTag]

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

Parameters:
dimensionsIterable [ str ]

Dimension names.

Returns:
tagslist [ DimensionKeyColumnTag ]

List of column tags.