disableWhenLimited

lsst.daf.butler.disableWhenLimited(func)

Decorator that indicates that a method should raise NotImplementedError on Registries whose limited attribute is True.

This implements that check and raise for all subclasses.