##// END OF EJS Templates
fix bug in stale profile clean up for clusters...
fix bug in stale profile clean up for clusters "clusters" tab of my notebook wasn't rendering, so checked the log, found the stack trace: ``` [...] File "/usr/local/lib/python3.4/site-packages/ipython-3.0.0-py3.4.egg/IPython/html/services/clusters/handlers.py", line 21, in get self.finish(json.dumps(self.cluster_manager.list_profiles())) File "/usr/local/lib/python3.4/site-packages/ipython-3.0.0-py3.4.egg/IPython/html/services/clusters/clustermanager.py", line 77, in list_profiles self.update_profiles() File "/usr/local/lib/python3.4/site-packages/ipython-3.0.0-py3.4.egg/IPython/html/services/clusters/clustermanager.py", line 74, in update_profiles self.profiles.pop(stale) TypeError: unhashable type: 'set' ``` looks like a pretty straightforward mistake

File last commit:

r21212:244bf603
r21236:10a376e0
Show More
__init__.py
40 lines | 2.0 KiB | text/x-python | PythonLexer
Sylvain Corlay
Move _unpack_models to widget.js and widget serialization to widget.py
r21157 from .widget import Widget, DOMWidget, CallbackDispatcher, register, widget_serialization
Jonathan Frederic
Register new widgets in IPython.html.widgets namespace
r14244
Min RK
move eventful to html.widgets.eventful
r21169 from .trait_types import Color, EventfulDict, EventfulList
Sylvain Corlay
Move color trait type to the widget package
r20797
Sylvain Corlay
Valid widget
r20820 from .widget_bool import Checkbox, ToggleButton, Valid
Jonathan Frederic
Renamed *Widget to *,...
r17598 from .widget_button import Button
Jonathan Frederic
Remove the popup widget
r19749 from .widget_box import Box, FlexBox, HBox, VBox
Gordon Ball
Merge master
r17698 from .widget_float import FloatText, BoundedFloatText, FloatSlider, FloatProgress, FloatRangeSlider
Jonathan Frederic
Renamed *Widget to *,...
r17598 from .widget_image import Image
Gordon Ball
Merge master
r17698 from .widget_int import IntText, BoundedIntText, IntSlider, IntProgress, IntRangeSlider
Jonathan Frederic
Output Widget
r18953 from .widget_output import Output
Nicholas Bollweg
squashing the whitespace changes
r20287 from .widget_selection import RadioButtons, ToggleButtons, Dropdown, Select, SelectMultiple
Jonathan Frederic
Renamed *Widget to *,...
r17598 from .widget_selectioncontainer import Tab, Accordion
from .widget_string import HTML, Latex, Text, Textarea
Gordon Ball
s/choose/manual/g
r17923 from .interaction import interact, interactive, fixed, interact_manual
Min RK
remove Link, DirectionalLink from widgets.__init__...
r20231 from .widget_link import jslink, jsdlink
Jonathan Frederic
Renamed *Widget to *,...
r17598
# Deprecated classes
Jonathan Frederic
Renamed widgets......
r14834 from .widget_bool import CheckboxWidget, ToggleButtonWidget
Jonathan Frederic
Fixed widget imports for Python3
r14300 from .widget_button import ButtonWidget
Jonathan Frederic
Remove the popup widget
r19749 from .widget_box import ContainerWidget
Jonathan Frederic
Create base widget classes
r14670 from .widget_float import FloatTextWidget, BoundedFloatTextWidget, FloatSliderWidget, FloatProgressWidget
Jonathan Frederic
Add ImageWidget
r14449 from .widget_image import ImageWidget
Jonathan Frederic
Create base widget classes
r14670 from .widget_int import IntTextWidget, BoundedIntTextWidget, IntSliderWidget, IntProgressWidget
Jonathan Frederic
Renamed widgets......
r14834 from .widget_selection import RadioButtonsWidget, ToggleButtonsWidget, DropdownWidget, SelectWidget
Jonathan Frederic
1-to-1 widget / view mapping
r14592 from .widget_selectioncontainer import TabWidget, AccordionWidget
Jonathan Frederic
Renamed widgets......
r14834 from .widget_string import HTMLWidget, LatexWidget, TextWidget, TextareaWidget
Jonathan Frederic
Add warning to widget namespace import.
r19206
Jason Grout
Make the widget warning easier to catch by specifying the module.
r19527 # We use warn_explicit so we have very brief messages without file or line numbers.
# The concern is that file or line numbers will confuse the interactive user.
# To ignore this warning, do:
#
# from warnings import filterwarnings
Min RK
jupyter_notebook imports
r21212 # filterwarnings('ignore', module='jupyter_notebook.widgets')
Jason Grout
Make the widget warning easier to catch by specifying the module.
r19527
Jason Grout
Change IPython widget warning to get rid of filenames and line numbers...
r19526 from warnings import warn_explicit
__warningregistry__ = {}
warn_explicit("IPython widgets are experimental and may change in the future.",
Min RK
jupyter_notebook imports
r21212 FutureWarning, '', 0, module = 'jupyter_notebook.widgets',
Jason Grout
Make the widget warning easier to catch by specifying the module.
r19527 registry = __warningregistry__, module_globals = globals)