##// END OF EJS Templates
Get widgets from function annotations and default arguments....
Get widgets from function annotations and default arguments. Also, preserve the order of function parameters from the signature where possible. This uses a backport of the Python 3.3 signature machinery that @minrk found and improved.

File last commit:

r9190:20a102a5
r15137:7b115517
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'])