You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by wi...@apache.org on 2020/09/02 16:58:33 UTC
[incubator-superset] branch master updated (b5aecaf -> 77a3167)
This is an automated email from the ASF dual-hosted git repository.
willbarrett pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from b5aecaf docs: Update OAuth configuration in installation.rst (#10748)
add 77a3167 feat(database): POST, PUT, DELETE API endpoints (#10741)
No new revisions were added by this update.
Summary of changes:
superset/databases/api.py | 330 ++++++++---
.../databases/commands}/__init__.py | 0
superset/databases/commands/create.py | 84 +++
superset/{charts => databases}/commands/delete.py | 38 +-
superset/databases/commands/exceptions.py | 111 ++++
superset/databases/commands/update.py | 87 +++
superset/{queries => databases}/dao.py | 25 +-
superset/{views/database => databases}/filters.py | 0
superset/databases/schemas.py | 253 ++++++++
superset/databases/utils.py | 100 ++++
superset/datasets/api.py | 2 +-
superset/views/base_api.py | 3 +
superset/views/core.py | 2 +-
superset/views/database/mixins.py | 6 +-
superset/views/database/validators.py | 14 +-
tests/database_api_tests.py | 268 ---------
tests/{util => databases}/__init__.py | 0
tests/databases/api_tests.py | 650 +++++++++++++++++++++
18 files changed, 1580 insertions(+), 393 deletions(-)
copy {tests/util => superset/databases/commands}/__init__.py (100%)
create mode 100644 superset/databases/commands/create.py
copy superset/{charts => databases}/commands/delete.py (65%)
create mode 100644 superset/databases/commands/exceptions.py
create mode 100644 superset/databases/commands/update.py
copy superset/{queries => databases}/dao.py (52%)
rename superset/{views/database => databases}/filters.py (100%)
create mode 100644 superset/databases/utils.py
delete mode 100644 tests/database_api_tests.py
copy tests/{util => databases}/__init__.py (100%)
create mode 100644 tests/databases/api_tests.py