diff --git a/ipywatch/history.py b/ipywatch/history.py index 94a7670..d66c778 100644 --- a/ipywatch/history.py +++ b/ipywatch/history.py @@ -5,7 +5,7 @@ # %% ../nbs/02_widget_history.ipynb 3 from collections import deque -from typing import Any, Deque, Dict, Iterator +from typing import Any, Dict, Iterator # %% ../nbs/02_widget_history.ipynb 4 class WidgetStateHistory: diff --git a/nbs/00_comm.ipynb b/nbs/00_comm.ipynb index 1fe6ed0..d055cec 100644 --- a/nbs/00_comm.ipynb +++ b/nbs/00_comm.ipynb @@ -16,6 +16,8 @@ "outputs": [], "source": [ "#| hide\n", + "from IPython.display import display\n", + "\n", "import solara\n", "import ipywidgets as widgets\n", "from ipywidgets.widgets import widget as widget_module\n", diff --git a/nbs/01_reacton.ipynb b/nbs/01_reacton.ipynb index de4d2b0..68be90e 100644 --- a/nbs/01_reacton.ipynb +++ b/nbs/01_reacton.ipynb @@ -16,13 +16,10 @@ "outputs": [], "source": [ "#| hide\n", - "from typing import Optional\n", "\n", "import solara\n", - "import reacton as react\n", "import ipywidgets as widgets\n", - "from reacton import ipywidgets as react_widgets\n", - "from reacton.core import _RenderContext, ComponentContext, Element" + "from reacton.core import _RenderContext, Element" ] }, { diff --git a/nbs/02_widget_history.ipynb b/nbs/02_widget_history.ipynb index 3399789..6923ba9 100644 --- a/nbs/02_widget_history.ipynb +++ b/nbs/02_widget_history.ipynb @@ -35,7 +35,7 @@ "source": [ "#| exporti\n", "from collections import deque\n", - "from typing import Any, Deque, Dict, Iterator" + "from typing import Any, Dict, Iterator" ] }, {