From ff37de96d144f6a73edb9d5518e48dbf05b9a149 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 14 Mar 2024 11:06:01 -0500 Subject: [PATCH 1/2] fix: use internal_service_url over service_url --- platform_plugin_aspects/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform_plugin_aspects/utils.py b/platform_plugin_aspects/utils.py index d931093..edfdd43 100644 --- a/platform_plugin_aspects/utils.py +++ b/platform_plugin_aspects/utils.py @@ -84,7 +84,8 @@ def _generate_guest_token(user, course, superset_config, dashboard_uuid, filters or None, exception if Superset is missconfigured or cannot generate guest token. """ superset_internal_host = _fix_service_url( - superset_config.get("service_url", superset_config.get("internal_service_url")) + superset_config.get("internal_service_url") + or superset_config.get("service_url") ) superset_username = superset_config.get("username") superset_password = superset_config.get("password") From b369e1f5090a566f7a3fe604c7538da4e39de635 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 14 Mar 2024 11:14:28 -0500 Subject: [PATCH 2/2] chore: bump version to v0.3.1 --- CHANGELOG.rst | 8 ++++++++ platform_plugin_aspects/__init__.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 110ba82..3709d65 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,14 @@ Unreleased * +0.3.1 - 2024-03-14 +****************** + +Added +===== + +* Fixed development server configuration. + 0.3.0 – 2024-03-10 ****************** Added diff --git a/platform_plugin_aspects/__init__.py b/platform_plugin_aspects/__init__.py index 37a09e3..a34c1bb 100644 --- a/platform_plugin_aspects/__init__.py +++ b/platform_plugin_aspects/__init__.py @@ -5,6 +5,6 @@ import os from pathlib import Path -__version__ = "0.3.0" +__version__ = "0.3.1" ROOT_DIRECTORY = Path(os.path.dirname(os.path.abspath(__file__)))