MCPcopy Create free account
hub / github.com/ipython/traitlets / _create_parser

Method _create_parser

traitlets/config/loader.py:905–910  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

903 return []
904
905 def _create_parser(self) -> None:
906 self.parser = self.parser_class(
907 *self.parser_args,
908 **self.parser_kw, # type:ignore[arg-type]
909 )
910 self._add_arguments(self.aliases, self.flags, self.classes)
911
912 def _add_arguments(self, aliases: t.Any, flags: t.Any, classes: t.Any) -> None:
913 raise NotImplementedError("subclasses must implement _add_arguments")

Callers 1

load_configMethod · 0.95

Calls 1

_add_argumentsMethod · 0.95

Tested by

no test coverage detected