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

Method _parallel_changed

IPython/core/profileapp.py:224–235  ·  view source on GitHub ↗
(self, change)

Source from the content-addressed store, hash-verified

222
223 @observe('parallel')
224 def _parallel_changed(self, change):
225 parallel_files = [ 'ipcontroller_config.py',
226 'ipengine_config.py',
227 'ipcluster_config.py'
228 ]
229 if change['new']:
230 for cf in parallel_files:
231 self.config_files.append(cf)
232 else:
233 for cf in parallel_files:
234 if cf in self.config_files:
235 self.config_files.remove(cf)
236
237 def parse_command_line(self, argv):
238 super(ProfileCreate, self).parse_command_line(argv)

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected