From 73099c51a73fa38a795020e29b25127a4721c982 Mon Sep 17 00:00:00 2001 From: Yongjie Zhao Date: Mon, 25 Oct 2021 10:15:16 +0800 Subject: [PATCH] fix: CI is blocked by mypy checking --- superset/examples/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/examples/utils.py b/superset/examples/utils.py index fc5b78a2304a8..4568e4f19648f 100644 --- a/superset/examples/utils.py +++ b/superset/examples/utils.py @@ -86,7 +86,7 @@ def load_configs_from_directory( # removing "type" from the metadata allows us to import any exported model # from the unzipped directory directly - metadata = yaml.load(contents.get(METADATA_FILE_NAME, "{}")) + metadata = yaml.load(contents.get(METADATA_FILE_NAME, "{}"), Loader=None) if "type" in metadata: del metadata["type"] contents[METADATA_FILE_NAME] = yaml.dump(metadata)