diff --git a/databuilder/databuilder/extractor/dashboard/apache_superset/apache_superset_chart_extractor.py b/databuilder/databuilder/extractor/dashboard/apache_superset/apache_superset_chart_extractor.py index decdbf3239..9bbaa5f756 100644 --- a/databuilder/databuilder/extractor/dashboard/apache_superset/apache_superset_chart_extractor.py +++ b/databuilder/databuilder/extractor/dashboard/apache_superset/apache_superset_chart_extractor.py @@ -58,7 +58,7 @@ def _get_dashboard_details(self, dashboard_id: str) -> Tuple[str, Dict[str, Any] _data = self.execute_query(url) - dashboard_data = _data.get('dashboards', [])[0].get('__Dashboard__', dict()) + dashboard_data = _data.get('dashboards', [dict()])[0].get('__Dashboard__', dict()) data = dashboard_id, dashboard_data diff --git a/databuilder/setup.py b/databuilder/setup.py index c5418321dc..c7e811c95d 100644 --- a/databuilder/setup.py +++ b/databuilder/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages, setup -__version__ = '6.1.0' +__version__ = '6.1.1' requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt') with open(requirements_path) as requirements_file: