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 2022/02/24 19:04:37 UTC
[superset] branch master updated (9fd18e9 -> 00c99c9)
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/superset.git.
from 9fd18e9 refactor(ImportModelsCommand): clean code, extract logic into methods (#18866)
add 00c99c9 feat: new dataset/table/column models (#17543)
No new revisions were added by this update.
Summary of changes:
.../columns}/__init__.py | 0
superset/columns/models.py | 99 ++
superset/{dao/exceptions.py => columns/schemas.py} | 45 +-
superset/connectors/sqla/models.py | 487 +++++++-
superset/datasets/models.py | 92 ++
superset/datasets/schemas.py | 14 +
.../versions/b8d3a24d9131_new_dataset_models.py | 598 ++++++++++
superset/models/helpers.py | 20 +
superset/security/manager.py | 2 +
.../tables}/__init__.py | 0
superset/tables/models.py | 92 ++
superset/{dao/exceptions.py => tables/schemas.py} | 45 +-
.../dashboards/filter_sets/conftest.py | 195 ++-
.../dashboards/filter_sets/create_api_tests.py | 4 +-
.../dashboards/filter_sets/delete_api_tests.py | 8 +-
.../dashboards/filter_sets/get_api_tests.py | 4 +-
.../dashboards/filter_sets/update_api_tests.py | 8 +-
.../dashboards/superset_factory_util.py | 34 +-
tests/integration_tests/datasets/api_tests.py | 1 +
tests/integration_tests/security_tests.py | 19 +-
.../{pandas_postprocessing => columns}/__init__.py | 0
tests/unit_tests/columns/test_models.py | 53 +
.../datasets/commands/importers/v1/import_test.py | 14 +-
tests/unit_tests/datasets/test_models.py | 1244 ++++++++++++++++++++
.../{pandas_postprocessing => tables}/__init__.py | 0
tests/unit_tests/tables/test_models.py | 50 +
26 files changed, 2899 insertions(+), 229 deletions(-)
copy {tests/unit_tests/pandas_postprocessing => superset/columns}/__init__.py (100%)
create mode 100644 superset/columns/models.py
copy superset/{dao/exceptions.py => columns/schemas.py} (55%)
create mode 100644 superset/datasets/models.py
create mode 100644 superset/migrations/versions/b8d3a24d9131_new_dataset_models.py
copy {tests/unit_tests/pandas_postprocessing => superset/tables}/__init__.py (100%)
create mode 100644 superset/tables/models.py
copy superset/{dao/exceptions.py => tables/schemas.py} (54%)
copy tests/unit_tests/{pandas_postprocessing => columns}/__init__.py (100%)
create mode 100644 tests/unit_tests/columns/test_models.py
create mode 100644 tests/unit_tests/datasets/test_models.py
copy tests/unit_tests/{pandas_postprocessing => tables}/__init__.py (100%)
create mode 100644 tests/unit_tests/tables/test_models.py