mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: fix deprecation warnings for SQLALchemy URL (#23770)
This commit is contained in:
committed by
GitHub
parent
e3719a1b07
commit
0788b5fdcc
@@ -314,7 +314,7 @@ class ClickHouseConnectEngineSpec(ClickHouseEngineSpec, BasicParametersMixin):
|
||||
if not url_params.get("database"):
|
||||
url_params["database"] = "__default__"
|
||||
url_params.pop("encryption", None)
|
||||
return str(URL(f"{cls.engine}+{cls.default_driver}", **url_params))
|
||||
return str(URL.create(f"{cls.engine}+{cls.default_driver}", **url_params))
|
||||
|
||||
@classmethod
|
||||
def get_parameters_from_uri(
|
||||
|
||||
Reference in New Issue
Block a user