##// END OF EJS Templates
Backport PR #5522: fix iteration over Client...
Backport PR #5522: fix iteration over Client I didn't intend for Client to be iterable, but defining `__getitem__` makes it iterable as long as engine IDs are continuous (not always the case). This explicitly defines `__iter__` so it behaves consistently. closes #5519

File last commit:

r14009:6f019b30
r16233:12e080c4
Show More
cluster.py
3 lines | 115 B | text/x-python | PythonLexer
if __name__ == '__main__':
from IPython.parallel.apps import ipclusterapp as app
app.launch_new_instance()