Skip to content

Commit

Permalink
fix(snowflake): Allow encrypted_extra field to be imported (#22357)
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Ning <aning@manifold.ai>
  • Loading branch information
askldjd and askldjd authored Dec 8, 2022
1 parent 3a442e0 commit d41cb66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion superset/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,12 @@ class Database(
"allow_file_upload",
"extra",
]
extra_import_fields = ["password", "is_managed_externally", "external_url"]
extra_import_fields = [
"password",
"is_managed_externally",
"external_url",
"encrypted_extra",
]
export_children = ["tables"]

def __repr__(self) -> str:
Expand Down

0 comments on commit d41cb66

Please sign in to comment.