From 338277cb3cc1d4805ea1b5185e8bea58bf73aa61 Mon Sep 17 00:00:00 2001 From: Carlos M <1761056+cmontemuino@users.noreply.github.com> Date: Wed, 6 Sep 2023 12:34:31 +0200 Subject: [PATCH] docs: fix wrong type in PREFERRED_DATABASES example The example is using `List` as type, but it is not being imported in `config.py`. Thus, if you follow the example, an error will happen during runtime. Signed-off-by: cmontemuino <1761056+cmontemuino@users.noreply.github.com> --- docs/docs/databases/db-connection-ui.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/databases/db-connection-ui.mdx b/docs/docs/databases/db-connection-ui.mdx index 833b865c8de5b..67303c802a6c8 100644 --- a/docs/docs/databases/db-connection-ui.mdx +++ b/docs/docs/databases/db-connection-ui.mdx @@ -28,7 +28,7 @@ We added a new configuration option where the admin can define their preferred d # displayed prominently in the "Add Database" dialog. You should # use the "engine_name" attribute of the corresponding DB engine spec # in `superset/db_engine_specs/`. -PREFERRED_DATABASES: List[str] = [ +PREFERRED_DATABASES: list[str] = [ "PostgreSQL", "Presto", "MySQL",