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 e0079bb fix: small fixes to the new import/export (#12064)
add 5e811a1 feat: load examples from config instead of code (#12026)
No new revisions were added by this update.
Summary of changes:
setup.cfg | 2 +-
superset/cli.py | 6 +-
superset/commands/importers/v1/__init__.py | 19 +--
.../importers/v1/examples.py} | 84 ++++-------
superset/commands/importers/v1/utils.py | 2 +-
.../dashboards/commands/importers/v1/__init__.py | 14 +-
superset/dashboards/commands/importers/v1/utils.py | 9 +-
superset/datasets/commands/importers/v1/utils.py | 56 +++++++
superset/datasets/schemas.py | 1 +
superset/examples/__init__.py | 2 +-
.../configs/charts/Unicode_Cloud.yaml} | 46 +++---
.../examples/configs/dashboards/Unicode_Test.yaml | 40 ++++-
.../configs/datasets/examples/unicode_test.yaml | 93 ++++++++++++
.../__init__.py => examples/configs/metadata.yaml} | 2 +
superset/examples/unicode_test_data.py | 167 ---------------------
superset/examples/utils.py | 51 +++++++
16 files changed, 305 insertions(+), 289 deletions(-)
copy superset/{dashboards/commands/importers/v1/__init__.py =>
commands/importers/v1/examples.py} (63%)
copy superset/{migrations/versions/f18570e03440_add_query_result_key_index.py
=> examples/configs/charts/Unicode_Cloud.yaml} (62%)
copy requirements/base.in =>
superset/examples/configs/dashboards/Unicode_Test.yaml (53%)
create mode 100644
superset/examples/configs/datasets/examples/unicode_test.yaml
copy superset/{annotation_layers/annotations/commands/__init__.py =>
examples/configs/metadata.yaml} (92%)
delete mode 100644 superset/examples/unicode_test_data.py
create mode 100644 superset/examples/utils.py