bundles / traitlets 5.16.2 / traitlets / traitlets / This
class
traitlets.traitlets:This
source: /traitlets/traitlets.py:2401
Signature
class This(**kwargs: t.Any) → NoneMembers
Summary
A trait for instances of the class containing this trait.
Extended Summary
Because how how and when class bodies are executed, the This trait can only have a default value of None. This, and because we always validate default values, allow_none is always true.
Aliases
traitlets.This