diff --git a/docs/static/resources/openapi.json b/docs/static/resources/openapi.json index 4eb0cc7c48660..330c629063add 100644 --- a/docs/static/resources/openapi.json +++ b/docs/static/resources/openapi.json @@ -4399,6 +4399,9 @@ "nullable": true, "type": "boolean" }, + "kind": { + "readOnly": true + }, "main_dttm_col": { "maxLength": 250, "nullable": true, diff --git a/superset/datasets/api.py b/superset/datasets/api.py index 17e99959e9675..db6136865298a 100644 --- a/superset/datasets/api.py +++ b/superset/datasets/api.py @@ -166,6 +166,7 @@ class DatasetRestApi(BaseSupersetModelRestApi): "datasource_type", "url", "extra", + "kind", ] show_columns = show_select_columns + [ "columns.type_generic", diff --git a/tests/integration_tests/datasets/api_tests.py b/tests/integration_tests/datasets/api_tests.py index 28bb617c17c19..e378811eb97b3 100644 --- a/tests/integration_tests/datasets/api_tests.py +++ b/tests/integration_tests/datasets/api_tests.py @@ -276,6 +276,7 @@ def test_get_dataset_item(self): "fetch_values_predicate": None, "filter_select_enabled": False, "is_sqllab_view": False, + "kind": "physical", "main_dttm_col": None, "offset": 0, "owners": [],