{ } Raw JSON

bundles / traitlets latest / traitlets / config / loader / FileConfigLoader / __init__

function

traitlets.config.loader:FileConfigLoader.__init__

source: /traitlets/config/loader.py:541

Signature

def __init__(self, filename: str, path: str | None = None, **kw: t.Any) → None

Summary

Build a config loader for a filename and path.

Parameters

filename : str

The file name of the config file.

path : str, list, tuple

The path to search for the config file on, or a sequence of paths to try in order.

Aliases

  • traitlets.config.loader.FileConfigLoader.__init__