{ } Raw JSON

bundles / traitlets 5.15.0 / traitlets / traitlets / TraitType / from_string

function

traitlets.traitlets:TraitType.from_string

source: /traitlets/traitlets.py :594

Signature

def   from_string ( self s : str )  →  G | None

Summary

Get a value from a config string

Extended Summary

such as an environment variable or CLI arguments.

Traits can override this method to define their own parsing of config strings.

Aliases

  • traitlets.TraitType.from_string

Referenced by

This package