feat: Add owners and physical/virtual status to Datasets API list endpoint (#10025)

* Add owners and physical/virtual status to Datasets API list endpoint

* black

* Update type definition for DatasourceKind

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

* Fixin' tests and mypy

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
This commit is contained in:
Will Barrett
2020-06-10 12:04:40 -07:00
committed by GitHub
parent 5339d31ed1
commit 4ef26993e2
4 changed files with 22 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ import prison
import yaml
from sqlalchemy.sql import func
import tests.test_app
from superset.connectors.sqla.models import SqlaTable, SqlMetric, TableColumn
from superset.dao.exceptions import (
DAOCreateFailedError,
@@ -96,6 +97,8 @@ class DatasetApiTests(SupersetTestCase):
"default_endpoint",
"explore_url",
"id",
"kind",
"owners",
"schema",
"table_name",
]