From 2b5b354f907142dc4031bdb372c57bb0cbc260e7 Mon Sep 17 00:00:00 2001 From: Robert Palmer Date: Fri, 25 Jan 2019 19:31:46 -0800 Subject: [PATCH] Resolving bug with dash 0.36 that was introduced due to this refactoring: https://github.com/plotly/dash/issues/531 --- django_plotly_dash/dash_wrapper.py | 3 +-- frozen_dev.txt | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/django_plotly_dash/dash_wrapper.py b/django_plotly_dash/dash_wrapper.py index bfb93fa8..e0177f85 100644 --- a/django_plotly_dash/dash_wrapper.py +++ b/django_plotly_dash/dash_wrapper.py @@ -403,8 +403,7 @@ def callback(self, output, inputs=[], state=[], events=[]): # pylint: disable=da 'Invoke callback, adjusting variable names as needed' return super(WrappedDash, self).callback(self._fix_callback_item(output), [self._fix_callback_item(x) for x in inputs], - [self._fix_callback_item(x) for x in state], - [self._fix_callback_item(x) for x in events]) + [self._fix_callback_item(x) for x in state]) def dispatch(self): 'Perform dispatch, using request embedded within flask global state' diff --git a/frozen_dev.txt b/frozen_dev.txt index eb773fd1..4236a106 100644 --- a/frozen_dev.txt +++ b/frozen_dev.txt @@ -20,10 +20,10 @@ cmarkgfm==0.4.2 constantly==15.1.0 coverage==4.5.1 daphne==2.2.2 -dash==0.28.2 -dash-core-components==0.33.0 -dash-html-components==0.13.2 -dash-renderer==0.14.3 +dash==0.36 +dash-core-components==0.43 +dash-html-components==0.13.5 +dash-renderer==0.17 decorator==4.3.0 Django==2.1.2 django-bootstrap4==0.0.7 @@ -63,7 +63,7 @@ pathlib2==2.3.2 pathtools==0.1.2 pkg-resources==0.0.0 pkginfo==1.4.2 -plotly==3.3.0 +plotly==3.5.0 pluggy==0.7.1 port-for==0.3.1 py==1.7.0