Configurator.find

Configurator.find(key, *, context=False)[source]

Return a single setting. Optionally limit the search to the context level.

Parameters
  • key (str) – The single setting name.

  • context (bool, optional) – If True, then None is returned if the setting is not found in the context mode dictionaries. See context.