From 2554a89cc9f12499224bcec985216f28c2a353fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20DUBOIS?= Date: Wed, 23 Aug 2023 21:32:57 +0200 Subject: [PATCH] fix(cli): import-directory is missing the application context (#21255) (cherry picked from commit 80fcbfab7caa6ceaa5e041f1f90c5ac8dacf120e) --- superset/cli/importexport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/cli/importexport.py b/superset/cli/importexport.py index 86f6fe9b67e71..27bb0f7f8c088 100755 --- a/superset/cli/importexport.py +++ b/superset/cli/importexport.py @@ -34,6 +34,7 @@ @click.command() +@with_appcontext @click.argument("directory") @click.option( "--overwrite",