You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2021/07/12 23:10:36 UTC
[superset] 01/01: chore: Add metrics_b as viable metric form data
parameter
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch john-bodley--sqla-metric-for-data-params
in repository https://gitbox.apache.org/repos/asf/superset.git
commit c3b07456320d3524dbfcdc4075506cc6b8d0b2d2
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Tue Jul 13 11:09:46 2021 +1200
chore: Add metrics_b as viable metric form data parameter
---
superset/connectors/base/models.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/superset/connectors/base/models.py b/superset/connectors/base/models.py
index 2630535..72d3a0367 100644
--- a/superset/connectors/base/models.py
+++ b/superset/connectors/base/models.py
@@ -34,8 +34,9 @@ from superset.utils.core import GenericDataType
METRIC_FORM_DATA_PARAMS = [
"metric",
- "metrics",
"metric_2",
+ "metrics",
+ "metrics_b",
"percent_metrics",
"secondary_metric",
"size",