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

Method start

examples/myapp.py:134–143  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

132 self.init_bar()
133
134 def start(self):
135 print("app.config:")
136 print(self.config)
137 self.describe()
138 print("try running with --help-all to see all available flags")
139 assert self.log is not None
140 self.log.debug("Debug Message")
141 self.log.info("Info Message")
142 self.log.warning("Warning Message")
143 self.log.critical("Critical Message")
144
145 def describe(self):
146 print("I am MyApp with", self.name, self.running, "and 2 sub configurables Foo and bar:")

Callers 4

test_show_configFunction · 0.95
test_show_config_jsonFunction · 0.95
mainFunction · 0.95

Calls 2

describeMethod · 0.95
infoMethod · 0.45

Tested by 3

test_show_configFunction · 0.76
test_show_config_jsonFunction · 0.76