MCPcopy Index your code
hub / github.com/ipython/ipython / init_config_files

Method init_config_files

IPython/core/profileapp.py:259–287  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

257 return app
258
259 def init_config_files(self):
260 super(ProfileCreate, self).init_config_files()
261 # use local imports, since these classes may import from here
262 from IPython.terminal.ipapp import TerminalIPythonApp
263 apps = [TerminalIPythonApp]
264 for app_path in (
265 'ipykernel.kernelapp.IPKernelApp',
266 ):
267 app = self._import_app(app_path)
268 if app is not None:
269 apps.append(app)
270 if self.parallel:
271 from ipyparallel.apps.ipcontrollerapp import IPControllerApp
272 from ipyparallel.apps.ipengineapp import IPEngineApp
273 from ipyparallel.apps.ipclusterapp import IPClusterStart
274 apps.extend([
275 IPControllerApp,
276 IPEngineApp,
277 IPClusterStart,
278 ])
279 for App in apps:
280 app = App()
281 app.config.update(self.config)
282 app.log = self.log
283 app.overwrite = self.overwrite
284 app.copy_config_files=True
285 app.ipython_dir=self.ipython_dir
286 app.profile_dir=self.profile_dir
287 app.init_config_files()
288
289 def stage_default_config_file(self):
290 pass

Callers

nothing calls this directly

Calls 2

_import_appMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected