DimensionKeyColumnTag¶
-
class
lsst.daf.butler.
DimensionKeyColumnTag
(dimension: str)¶ Bases:
lsst.daf.butler.core._column_tags._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
-
is_key
¶
-
qualified_name
¶
Methods Documentation
-
classmethod
filter_from
(tags: collections.abc.Iterable[Any]) → set¶
-
classmethod
generate
(dimensions: collections.abc.Iterable[str]) → list¶ Return a list of column tags from an iterable of dimension names.
Parameters: - dimensions :
Iterable
[str
] Dimension names.
Returns: - tags :
list
[DimensionKeyColumnTag
] List of column tags.
- dimensions :
-