Evan Rusackas
fc73474d53
fix(ci): fix ruff E501 and requirements ordering for pyodps
...
Split long log message string in db_engine_specs/__init__.py to stay
within the 88-character line limit. Move pyodps==0.12.2 to its proper
alphabetical position in requirements/base.txt and remove the manually
appended entry from the end of both requirements files.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-11 13:55:56 -07:00
Evan Rusackas
909675c2a9
fix(db_engine_specs): validate external engine specs before loading
...
Add validation for external DB engine specs loaded via entry points
to ensure they are proper subclasses of BaseEngineSpec. This prevents
errors when third-party packages (like pyodps) provide outdated or
incompatible engine specs that don't inherit from BaseEngineSpec.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-03-11 13:55:33 -07:00
Maxime Beauchemin
cb27d5fe8d
chore: proper current_app.config proxy usage ( #34345 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-07-31 19:27:42 -07:00
Maxime Beauchemin
30e5684006
fix: address numerous long-standing console errors (python & web) ( #34299 )
2025-07-24 09:50:26 -07:00
Đỗ Trọng Hải
5d5b807d33
build(be/deps): replace importlib_metadata usage with native Python 3.10+ importlib.metadata ( #33868 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2025-06-23 13:46:19 -07:00
Maxime Beauchemin
e51b95ffa8
chore: enforce more ruff rules ( #31447 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2024-12-18 17:41:34 -08:00
Beto Dealmeida
173d5d09bf
fix: Dremio alias ( #28222 )
2024-04-26 07:49:20 -04:00
Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
Gnought
b0da5cef70
chore: remove deprecated functions in SQLAlchemy ( #25911 )
2023-11-08 11:56:38 -08:00
Beto Dealmeida
6b660c86a4
feat: a native SQLAlchemy dialect for Superset ( #14225 )
2023-08-18 12:21:36 -07:00
cwegener
f1b003f109
refactor: pkg_resources -> importlib.metadata ( #24514 )
2023-06-28 15:25:50 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Elizabeth Thompson
f58227a912
feat: add denylist for db engines ( #21486 )
2022-10-08 19:45:21 -07:00
Beto Dealmeida
8772e2cdb3
fix: improve get_db_engine_spec_for_backend ( #21171 )
...
* fix: improve get_db_engine_spec_for_backend
* Fix tests
* Fix docs
* fix lint
* fix fallback
* Fix engine validation
* Fix test
2022-08-29 11:42:42 -07:00
Beto Dealmeida
c70d102b73
fix: logger message ( #20714 )
2022-07-15 07:51:59 -07:00
Ville Brofeldt
0d331f5bd8
chore: remove redundant adodbapi warning ( #19557 )
2022-04-07 14:30:36 +03:00
Ke Zhu
0d064f4451
Be able to lookup driver by engine alias ( #16800 )
2021-09-24 12:31:17 +03:00
Beto Dealmeida
359383b578
feat: Add Aurora Data API engine spec ( #16535 )
...
* feat: Add Aurora Data API engine spec
* Fix lint
2021-09-04 08:40:14 -07:00
Beto Dealmeida
8f92618e46
fix: show all dbs in available endpoint ( #15534 )
2021-07-02 12:58:36 -07:00
Hugh A. Miles II
965dacdb33
fix: Fix dremio dialect not having a driver field ( #15198 )
...
* Update __init__.py
* Update superset/db_engine_specs/__init__.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net >
2021-06-16 20:02:02 -04:00
Beto Dealmeida
8b1a117d24
feat: return parameters only for DB with default driver ( #14803 )
...
* WIP
* Fix sorting of DBs
2021-05-25 14:46:54 -07:00
Beto Dealmeida
e7ad03d44f
feat: add endpoint to fetch available DBs ( #14208 )
...
* feat: add endpoint to fetch available DBs
* Fix lint
2021-04-23 10:51:47 -07:00
Beto Dealmeida
13bf023100
feat: improve engine spec discoverability ( #14204 )
...
* feat: improve engine spec discoverability
* Address comments
* Fix tests
2021-04-19 17:24:22 -07:00
Yongjie Zhao
22d8171dd6
chore(engine): adapt postgres backend connection URI ( #11233 )
...
* chore(engine): adapt postgres backend connection URI
* fix tests
* Update superset/db_engine_specs/__init__.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2020-10-14 18:57:41 +03:00
Will Barrett
cc49aae245
re-enable pylint for database compatibility layer ( #8772 )
...
* Re-enable pylint for superset/db_engines/hive.py
* re-enable pylint for superset/db_engine_specs/elasticsearch.py
* Re-enable superset/db_engine_specs/__init__.py
* Re-enable pylint for superset/db_engine_specs/exasol.py
2019-12-07 16:15:12 -08:00
John Bodley
9fc37ea9f1
[ci] Deprecate flake8 ( #8409 )
...
* [ci] Deprecate flake8
* Addressing @villebro's comments
2019-10-18 14:44:27 -07:00
John Bodley
5c58fd1802
[format] Using Black ( #7769 )
2019-06-25 13:34:48 -07:00
Ville Brofeldt
95291facff
Break up db_engine_specs ( #7676 )
...
* Refactor db_engine_specs into package
* Rename bigquery class and add epoch funcs
* Fix flake8 errors
* Dynamically load all engine specs
* Fix linting errors and unit tests
* Implement Snowflake epoch time funcs
* Implement Teradata epoch time func
* Fix presto datasource query and remove unused import
* Fix broken datasource query
* Add mypy ignore for false positive
* Add missing license files
* Make create_time_grains_tuple public
* Fix flake8 quote
* Fix incorrect licence header
2019-06-08 11:27:13 -07:00