{ } Raw JSON

bundles / traitlets latest / traitlets / traitlets / BaseDescriptor / instance_init

function

traitlets.traitlets:BaseDescriptor.instance_init

source: /traitlets/traitlets.py :483

Signature

def   instance_init ( self obj : t.Any )  →  None

Summary

Part of the initialization which may depend on the underlying HasDescriptors instance.

Extended Summary

It is typically overloaded for specific types.

This method is called by HasTraits.__new__ and in the BaseDescriptor.instance_init method of descriptors holding other descriptors.

Aliases

  • traitlets.BaseDescriptor.instance_init