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

bundles / traitlets 5.14.3 / traitlets / traitlets / Dict / from_string_list

function

traitlets.traitlets:Dict.from_string_list

source: /traitlets/traitlets.py :4061

Signature

def   from_string_list ( self s_list : list[str] )  →  t.Any

Summary

Return a dict from a list of config strings.

Extended Summary

This is where we parse CLI configuration.

Each item should have the form "key=value".

item parsing is done in .item_from_string.

Aliases

  • traitlets.Dict.from_string_list