{ } Raw JSON

bundles / traitlets latest / docs

Doc

Defining new trait types

docs/defining_traits

To define a new trait type, subclass from TraitType. You can define the following things:

For instance, here's the definition of the TCPAddress trait: