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

Method initialize

examples/myapp.py:126–132  ·  view source on GitHub ↗
(self, argv=None)

Source from the content-addressed store, hash-verified

124 self.bar = Bar(config=self.config)
125
126 def initialize(self, argv=None):
127 self.parse_command_line(argv)
128 if self.config_file:
129 self.load_config_file(self.config_file)
130 self.load_config_environ()
131 self.init_foo()
132 self.init_bar()
133
134 def start(self):
135 print("app.config:")

Callers 4

test_no_eval_cli_textMethod · 0.95
test_flatten_flagsMethod · 0.95
test_flatten_aliasesMethod · 0.95
mainFunction · 0.95

Calls 5

init_fooMethod · 0.95
init_barMethod · 0.95
parse_command_lineMethod · 0.80
load_config_fileMethod · 0.80
load_config_environMethod · 0.80

Tested by 3

test_no_eval_cli_textMethod · 0.76
test_flatten_flagsMethod · 0.76
test_flatten_aliasesMethod · 0.76