MCPcopy Create free account
hub / github.com/ipython/ipython / _profile_dir_default

Method _profile_dir_default

IPython/core/application.py:185–191  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 profile_dir = Instance(ProfileDir, allow_none=True)
184 @default('profile_dir')
185 def _profile_dir_default(self):
186 # avoid recursion
187 if self._in_init_profile_dir:
188 return
189 # profile_dir requested early, force initialization
190 self.init_profile_dir()
191 return self.profile_dir
192
193 overwrite = Bool(False,
194 help="""Whether to overwrite existing config files when copying"""

Callers

nothing calls this directly

Calls 1

init_profile_dirMethod · 0.95

Tested by

no test coverage detected