conformSet

lsst.daf.butler.conformSet(container)

Transform an iterable of DimensionElement or names thereof into an object with a set-like .names attribute.

Also accepts objects with a .names attribute that are not themselves iterable, such as DimensionNameSet itself.