diff --git a/requirements/base.txt b/requirements/base.txt index d0cd102aaea8c..e5804425675eb 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -103,6 +103,8 @@ flask-wtf==0.14.3 # via # apache-superset # flask-appbuilder +func-timeout==4.3.5 + # via apache-superset geographiclib==1.52 # via geopy geopy==2.2.0 diff --git a/setup.py b/setup.py index fca83032738e6..a2f32fd5d845b 100644 --- a/setup.py +++ b/setup.py @@ -81,6 +81,7 @@ def get_git_sha() -> str: "flask-talisman", "flask-migrate", "flask-wtf", + "func_timeout", "geopy", "graphlib-backport", "gunicorn>=20.1.0", diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/SqlAlchemyForm.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/SqlAlchemyForm.tsx index d9221499295ca..a48cea33e4132 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/SqlAlchemyForm.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/SqlAlchemyForm.tsx @@ -29,12 +29,14 @@ const SqlAlchemyTab = ({ testConnection, conf, isEditMode = false, + testInProgress = false, }: { db: DatabaseObject | null; onInputChange: EventHandler>; testConnection: EventHandler>; conf: { SQLALCHEMY_DOCS_URL: string; SQLALCHEMY_DISPLAY_TEXT: string }; isEditMode?: boolean; + testInProgress?: boolean; }) => ( <> @@ -88,6 +90,7 @@ const SqlAlchemyTab = ({