Expands a dict of [das key template, dict] to [das key, dict], copying the second parameter for each das key given
- Parameters:
templates (dict[str, dict]) – A mapping from das key templates (eg. can support wildcards) to a dict object
- Returns:
A mapping from das keys to a dict with a metadata key
- Return type:
dict[str, dict]