bundles / traitlets latest / traitlets / traitlets / MetaHasDescriptors / setup_class
function
traitlets.traitlets:MetaHasDescriptors.setup_class
source: /traitlets/traitlets.py :991
Signature
def setup_class ( cls : MetaHasDescriptors , classdict : dict[str, t.Any] ) → None Summary
Setup descriptor instance on the class
Extended Summary
This sets the this_class and name attributes of each BaseDescriptor in the class dict of the newly created cls before calling their class_init method.
Aliases
-
traitlets.MetaHasDescriptors.setup_class