You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2020/11/17 01:16:06 UTC
[incubator-superset] branch master updated (871a98a -> 7bc353f)
This is an automated email from the ASF dual-hosted git repository.
beto pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git.
from 871a98a refactor: Load fonts from packages rather than local binaries (#11718)
add 7bc353f feat: new import commands for dataset and databases (#11670)
No new revisions were added by this update.
Summary of changes:
superset/cli.py | 5 +-
.../commands/importers/exceptions.py | 11 +-
.../commands/importers/v1}/__init__.py | 0
superset/commands/importers/v1/utils.py | 67 +++++++
.../databases/commands/importers}/__init__.py | 0
.../databases/commands/importers/v1/__init__.py | 116 ++++++++++++
.../commands/importers/v1/utils.py} | 26 ++-
superset/databases/schemas.py | 21 +++
superset/datasets/commands/importers/v0.py | 14 +-
.../datasets/commands/importers/v1/__init__.py | 121 ++++++++++++
.../{filters.py => commands/importers/v1/utils.py} | 31 +--
superset/datasets/schemas.py | 45 +++++
superset/models/helpers.py | 2 +-
tests/databases/commands_tests.py | 209 ++++++++++++++++++++-
tests/datasets/commands_tests.py | 161 +++++++++++++++-
tests/fixtures/importexport.py | 90 +++++++++
16 files changed, 888 insertions(+), 31 deletions(-)
copy tests/superset_test_config_sqllab_backend_persist.py => superset/commands/importers/exceptions.py (82%)
copy {tests/security => superset/commands/importers/v1}/__init__.py (100%)
create mode 100644 superset/commands/importers/v1/utils.py
copy {tests/security => superset/databases/commands/importers}/__init__.py (100%)
create mode 100644 superset/databases/commands/importers/v1/__init__.py
copy superset/{utils/hashing.py => databases/commands/importers/v1/utils.py} (56%)
create mode 100644 superset/datasets/commands/importers/v1/__init__.py
copy superset/datasets/{filters.py => commands/importers/v1/utils.py} (54%)
create mode 100644 tests/fixtures/importexport.py