From 80fcbfab7caa6ceaa5e041f1f90c5ac8dacf120e 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) --- superset/cli/importexport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superset/cli/importexport.py b/superset/cli/importexport.py index 08a275a3cf..5dde06d01a 100755 --- a/superset/cli/importexport.py +++ b/superset/cli/importexport.py @@ -34,6 +34,7 @@ logger = logging.getLogger(__name__) @click.command() +@with_appcontext @click.argument("directory") @click.option( "--overwrite",