bundles / traitlets 5.15.0 / traitlets / config / loader / ArgParseConfigLoader / load_config
function
traitlets.config.loader:ArgParseConfigLoader.load_config
source: /traitlets/config/loader.py :858
Signature
def load_config ( self , argv : list[str] | None = None , aliases : t.Any = None , flags : t.Any = <deprecated> , classes : t.Any = None ) → Config Summary
Parse command line arguments and return as a Config object.
Parameters
argv: optional, listIf given, a list with the structure of sys.argv[1:] to parse arguments from. If not given, the instance's self.argv attribute (given at construction time) is used.
flagsDeprecated in traitlets 5.0, instantiate the config loader with the flags.
Aliases
-
traitlets.config.loader.ArgParseConfigLoader.load_config