Skip to content

Commit

Permalink
fix: CI is blocked by mypy checking (#17213)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie committed Oct 25, 2021
1 parent b5246b2 commit 31085e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/examples/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31085e3

Please sign in to comment.