bundles / traitlets latest / traitlets / traitlets / This
class
traitlets.traitlets:This
source: /traitlets/traitlets.py :2378
Signature
class This ( ** kwargs : t.Any ) → None Members
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