ssb_timeseries.types.metadata¶
Metadata type aliases: repository, dataset, series, and tag names and values.
- DatasetName¶
Dataset names must be unique within a Repository.
- class DatasetTags¶
Bases:
TypedDictA dictionary representing the full dataset metadata, including ‘series’.
The five declared keys are mandatory; additional tags are allowed, but their values must be tag values.
- name: str¶
- repository: str¶
- series: dict[str, dict[str, str | list[str]]]¶
- temporality: Temporality | str¶
- versioning: Versioning | str¶
- RepositoryName¶
Repository name can be any string that match a key in the repositories section of the configuration.
- SeriesName¶
Series names are strings identifying data columns and tag keys, ie they must be unique within the Dataset.
- SeriesTags¶
A dictionary mapping series names to their tags.
alias of
dict[str,dict[str,str|list[str]]]
- TagKey¶
Tag keys are attribute names represented as strings.
- TagValue: TypeAlias = str | list[str]¶
Tag values are attribute values represented as strings or lists of strings.
- Tags¶
A dictionary with tag key-value pairs.
alias of
dict[str,str|list[str]]