##// END OF EJS Templates
KM.client creates a client with a shared Session
KM.client creates a client with a shared Session

File last commit:

r9190:20a102a5
r10309:ad5ccbff
Show More
views.py
15 lines | 195 B | text/x-python | PythonLexer
from IPython.parallel 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'])