NameMappingSetView

class lsst.daf.butler.NameMappingSetView(mapping: Mapping[str, K_co])

Bases: NamedValueAbstractSet[K_co]

A lightweight implementation of NamedValueAbstractSet.

Backed by a mapping from name to named object.

Parameters:
mappingMapping [ str, object ]

Mapping this object will provide a view of.

Attributes Summary

names

Return set of names associated with the keys, in the same order.

Methods Summary

asMapping()

Return a mapping view with names as keys.

Attributes Documentation

names

Methods Documentation

asMapping() Mapping[str, K_co]

Return a mapping view with names as keys.

Returns:
dictMapping

A dictionary-like view with values() == self.