mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: consolidate common code in importers (#11936)
* chore: consolidate common code in importers * Small fixes * Small fixes
This commit is contained in:
@@ -38,7 +38,7 @@ class ExportDatabasesCommand(ExportModelsCommand):
|
||||
not_found = DatabaseNotFoundError
|
||||
|
||||
@staticmethod
|
||||
def export(model: Database) -> Iterator[Tuple[str, str]]:
|
||||
def _export(model: Database) -> Iterator[Tuple[str, str]]:
|
||||
database_slug = secure_filename(model.database_name)
|
||||
file_name = f"databases/{database_slug}.yaml"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user