##// END OF EJS Templates
update API after sagedays29...
update API after sagedays29 tests, docs updated to match * Client no longer has high-level methods (only in Views) * module functions can be pushed * clients can have a connection timeout * dependencies have separate switches for success/failure, not just success_only * add `with view.temp_flags(**flags):` for temporary flags Also updated some docs and examples

File last commit:

r3664:e90463ba
r3664:e90463ba
Show More
views.py
14 lines | 203 B | text/x-python | PythonLexer
from IPython.zmq.parallel.client import *
client = Client()
for id in client.ids:
client[id].push(dict(ids=id*id))
v = client[0]
v['a'] = 5
print v['a']
remotes = client[:]
print remotes['ids']