├── .env ├── .github └── workflows │ ├── publishing.yaml │ └── python-package.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docker-compose.yml ├── examples ├── change_colors.py ├── export_dashboard.py ├── export_dataset.py └── quickstart.py ├── pyproject.toml ├── scripts ├── entrypoint.sh └── release.sh ├── setup.cfg ├── supersetapiclient ├── __init__.py ├── assets.py ├── base.py ├── charts.py ├── client.py ├── dashboards.py ├── databases.py ├── datasets.py ├── exceptions.py └── saved_queries.py └── tests ├── __init__.py ├── conftest.py ├── integration └── test_basic.py ├── mocks └── endpoints │ ├── chart │ └── _info.get │ ├── dashboard │ └── _info.get │ ├── database │ └── _info.get │ ├── dataset │ └── _info.get │ ├── saved_query │ └── _info.get │ └── security │ ├── csrf_token.get │ └── login.post ├── security └── test_init.py └── superset_config.py /.env: -------------------------------------------------------------------------------- 1 | SUPERSET_VERSION=2.0.0 2 | LOAD_EXAMPLES=0 3 | -------------------------------------------------------------------------------- /.github/workflows/publishing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/.github/workflows/publishing.yaml -------------------------------------------------------------------------------- /.github/workflows/python-package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/.github/workflows/python-package.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /examples/change_colors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/examples/change_colors.py -------------------------------------------------------------------------------- /examples/export_dashboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/examples/export_dashboard.py -------------------------------------------------------------------------------- /examples/export_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/examples/export_dataset.py -------------------------------------------------------------------------------- /examples/quickstart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/examples/quickstart.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/scripts/entrypoint.sh -------------------------------------------------------------------------------- /scripts/release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/scripts/release.sh -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/setup.cfg -------------------------------------------------------------------------------- /supersetapiclient/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/__init__.py -------------------------------------------------------------------------------- /supersetapiclient/assets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/assets.py -------------------------------------------------------------------------------- /supersetapiclient/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/base.py -------------------------------------------------------------------------------- /supersetapiclient/charts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/charts.py -------------------------------------------------------------------------------- /supersetapiclient/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/client.py -------------------------------------------------------------------------------- /supersetapiclient/dashboards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/dashboards.py -------------------------------------------------------------------------------- /supersetapiclient/databases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/databases.py -------------------------------------------------------------------------------- /supersetapiclient/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/datasets.py -------------------------------------------------------------------------------- /supersetapiclient/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/exceptions.py -------------------------------------------------------------------------------- /supersetapiclient/saved_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/supersetapiclient/saved_queries.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/integration/test_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/integration/test_basic.py -------------------------------------------------------------------------------- /tests/mocks/endpoints/chart/_info.get: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/mocks/endpoints/chart/_info.get -------------------------------------------------------------------------------- /tests/mocks/endpoints/dashboard/_info.get: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/mocks/endpoints/dashboard/_info.get -------------------------------------------------------------------------------- /tests/mocks/endpoints/database/_info.get: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/mocks/endpoints/database/_info.get -------------------------------------------------------------------------------- /tests/mocks/endpoints/dataset/_info.get: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/mocks/endpoints/dataset/_info.get -------------------------------------------------------------------------------- /tests/mocks/endpoints/saved_query/_info.get: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/mocks/endpoints/saved_query/_info.get -------------------------------------------------------------------------------- /tests/mocks/endpoints/security/csrf_token.get: -------------------------------------------------------------------------------- 1 | { 2 | "result": "test_csrf_token" 3 | } -------------------------------------------------------------------------------- /tests/mocks/endpoints/security/login.post: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/mocks/endpoints/security/login.post -------------------------------------------------------------------------------- /tests/security/test_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/security/test_init.py -------------------------------------------------------------------------------- /tests/superset_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/opus-42/superset-api-client/HEAD/tests/superset_config.py --------------------------------------------------------------------------------