##// END OF EJS Templates
Automatically open a comm on creation of widgets...
Automatically open a comm on creation of widgets This will immediately create a model on the javascript side when a widget is created. This means that, for example, a widget that only interacts with its model can work without "displaying" it.

File last commit:

r15516:43a46eb6
r17612:cf808d21
Show More
test_decorators.py
9 lines | 170 B | text/x-python | PythonLexer
from IPython.utils import decorators
def test_flag_calls():
@decorators.flag_calls
def f():
pass
assert not f.called
f()
assert f.called