##// END OF EJS Templates
Add little soma workflow example
Add little soma workflow example

File last commit:

r3564:b78cec8e
r3608:e2a7b436
Show More
views.py
14 lines | 240 B | text/x-python | PythonLexer
from IPython.zmq.parallel.client import *
client = Client('tcp://127.0.0.1:10101')
for id in client.ids:
client.push(dict(ids=id*id), targets=id)
rns = client[0]
rns['a'] = 5
print rns['a']
remotes = client[:]
print remotes['ids']