mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: actually write changes on "superset import-datasources" (#14817)
This commit is contained in:
@@ -260,6 +260,7 @@ class ImportDatasetsCommand(BaseCommand):
|
||||
)
|
||||
dataset["database_id"] = database.id
|
||||
SqlaTable.import_from_dict(dataset, sync=self.sync)
|
||||
db.session.commit()
|
||||
|
||||
def validate(self) -> None:
|
||||
# ensure all files are YAML
|
||||
|
||||
Reference in New Issue
Block a user