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

bundles / traitlets 5.14.3 / traitlets / traitlets / HasTraits / trait_names

function

traitlets.traitlets:HasTraits.trait_names

source: /traitlets/traitlets.py :1907

Signature

def   trait_names ( self ** metadata : t.Any )  →  list[str]

Summary

Get a list of all the names of this class' traits.

Aliases

  • traitlets.HasTraits.trait_names