Skip to content

Commit 99348b3

Browse files
committed
Any
1 parent 7f5bfe0 commit 99348b3

File tree

1 file changed

+2
-2
lines changed
  • python/ipywidgets/ipywidgets/widgets

1 file changed

+2
-2
lines changed

python/ipywidgets/ipywidgets/widgets/widget.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from collections.abc import Iterable
1212
from IPython import get_ipython
1313
from traitlets import (
14-
HasTraits, Unicode, Dict, Instance, List, Int, Set, Bytes, observe, default, Container,
14+
Any, HasTraits, Unicode, Dict, Instance, List, Int, Set, Bytes, observe, default, Container,
1515
Undefined)
1616
from json import loads as jsonloads, dumps as jsondumps
1717

@@ -479,7 +479,7 @@ def get_view_spec(self):
479479

480480
_view_count = Int(None, allow_none=True,
481481
help="EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion.").tag(sync=True)
482-
comm = Instance(object, allow_none=True)
482+
comm = Any(allow_none=True)
483483

484484
keys = List(help="The traits which are synced.")
485485

0 commit comments

Comments
 (0)