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

Method _parallel_changed

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected