MetaLockedDownTraits

class wwt_data_formats.MetaLockedDownTraits(name, bases, namespace, **kwargs)[source]

Bases: abc.ABCMeta, traitlets.traitlets.MetaHasTraits

A metaclass to help with the LockedDownTraits class. When a class using this metaclass is created, a frozenset of all of the traitlets attached to the class definition (including those defined by its base classes) is created for fast checks during __setattr__ calls. The other setup done by traitlet’s MetaHasTraits metaclass is also performed.