You are viewing an older version (5.14.3). Go to latest (5.15.0)
{ } Raw JSON

bundles / traitlets 5.14.3 / traitlets / traitlets / BaseDescriptor / instance_init

function

traitlets.traitlets:BaseDescriptor.instance_init

source: /traitlets/traitlets.py :469

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